Skip to content

#263f0c

a deep, vivid green · neutral · closest name: Dark Green

RGB
38, 63, 12
HSL
89°, 68%, 15%
CMYK
40, 0, 81, 75
Luminance
0.0399

At a glance

Every number on this page in one read: what #263f0c is made of, how bright it looks, and which way it leans.

Hex
#263f0c
Hue
89°
green
Saturation
68%
vivid
Lightness
15%
deep
Brightness
25%
HSV value
Perceived
21%
weighted brightness
Luminance
0.0399
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Green
Tone
Vivid
Best ink
White
11.67:1
Closest name
Dark Green
ΔE2000 13.7
Where it sits
Hue89° of 360°
Saturation68%
Lightness15%
Temperature
Warm ← → Cool49% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#263f0c
RGBrgb(38, 63, 12)
HSLhsl(89, 68%, 15%)
CMYKcmyk(40%, 0%, 81%, 75%)
LABlab(23.6 -19.4 26.8)
LCHlch(23.6 33.1 126.0)
OKLCHoklch(0.335 0.082 132.2)
Decimal2506508
Display P3color(display-p3 0.149 0.247 0.047)

Copy-ready code

/* CSS */
color: #263f0c;
background-color: #263f0c;
/* Tailwind (arbitrary) */
class="text-[#263f0c] bg-[#263f0c]"
/* SCSS */
$brand: #263f0c;
/* SwiftUI */
Color(red: 0.149, green: 0.247, blue: 0.047)
/* Android */
Color.parseColor("#263f0c")
/* Flutter */
Color(0xFF263F0C)
/* Python / OpenCV (BGR) */
(12, 63, 38)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #263f0c · 11.67:1
Use #ffffffAAA at every size.
Aa
White text · 11.67:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.80:1
AA fail · AA large fail · AAA fail
Reading the other direction: #263f0c as text scores 11.67:1 on white and 1.80:1 on black.

Accessibility — WCAG contrast

Aa
#263f0c on white: 11.67:1
AA ✓ pass · AA-large · AAA
Aa
#263f0c on black: 1.80:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #423A05
deuteranopia · #3F3811
tritanopia · #273C35

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #263f0c is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F7FBF3
#F0F8E8
#DEF2CA
#C8EDA1
#ACE472
#90DB43
#7CCE27
#67AB21
#53891A
#3E6317
#263f0c
Base = 950Lightest = 50 · #F7FBF3Darkest = 950 · #263f0c
:root {
  --brand-50: #F7FBF3;
  --brand-100: #F0F8E8;
  --brand-200: #DEF2CA;
  --brand-300: #C8EDA1;
  --brand-400: #ACE472;
  --brand-500: #90DB43;
  --brand-600: #7CCE27;
  --brand-700: #67AB21;
  --brand-800: #53891A;
  --brand-900: #3E6317;
  --brand-950: #263f0c;
  --brand: #263f0c;
  --brand-ink: #ffffff;
}

Colors that work with #263f0c

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F7FAF4
Tinted page background
Border#D7EDC0
Hairlines and dividers
Muted text#749B4B
Captions on the surface
Accent#170A40
Second voice, not a rival
Dark variant#416B14
Hover, pressed, headers
Light variant#F2FBEA
Selected rows, tints
Dark surface#1C2414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #263f0c

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#250C3F
Analogous left#3F3E0C
Analogous right#0D3F0C
Split-complement 1#0C0D3F
Split-complement 2#3E0C3F
Triadic 1#0C263F
Triadic 2#3F0C26
Tetradic#0C3F3E

RGB percentages

Red14.9%
Green24.7%
Blue4.7%

CMYK percentages

Cyan39.7%
Magenta0.0%
Yellow81.0%
Key (black)75.3%

Color previews

#263f0c text on a black background

contrast 1.80:1

Card sample

#263f0c text on a white background

contrast 11.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #263f0c;
Background color
Panel with #263f0c background
background-color: #263f0c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #263f0c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(38, 63, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(38, 63, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #263f0c;
background: linear-gradient(135deg, #263f0c, #0C3F14);

Monochromatic scale

Palettes built from #263f0c

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#263f0c in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#263f0c, answered

What color is #263f0c?

#263f0c is a deep vivid green, closest to Dark Green (ΔE2000 13.7). It sits at 89° on the hue wheel with 68% saturation and 15% lightness, which reads as neutral.

What is the RGB value of #263f0c?

rgb(38, 63, 12) — 38 red, 63 green and 12 blue out of 255, or 14.9% / 24.7% / 4.7% by channel.

Is #263f0c a light or a dark color?

It is a dark color. Relative luminance is 0.0399 and perceived brightness is 21%, so white text on it reaches 11.67:1.

Should I use black or white text on #263f0c?

White. It scores 11.67:1 against #263f0c, versus 1.80:1 for black — AAA at any size.

What is the complementary color of #263f0c?

#250C3F sits directly opposite on the wheel. Softer options are the split-complements #0C0D3F and #3E0C3F, which give the same contrast with far less vibration.

What colors go well with #263f0c?

For interface work: #F7FAF4 as the surface, #D7EDC0 for borders, #749B4B for secondary text, #170A40 as an accent and #416B14 for hover and pressed states. For a palette, the analogous pair #3F3E0C and #0D3F0C stays calm, while #250C3F is the loudest partner.

What is #263f0c in CMYK for printing?

cmyk(40%, 0%, 81%, 75%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #263f0c warm or cool?

Neutral — it scores 49 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #393F0C; nudged cooler, #13400B.

Work with #263f0c in the Color Lab