#2D4209#2D4209

#2D4209 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.9% C 0.084 H 128.3°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#2D4209
RGBrgb(45, 66, 9)
HSLhsl(82, 76%, 15%)
HSVhsv(82, 86%, 26%)
CMYKcmyk(31.8%, 0%, 86.4%, 74.1%)
CIE-LABlab(25.18, -18.10, 29.69)
CIE-LCHlch(25.18, 34.77, 121.37°)
OKLaboklab(34.89% -0.0519 0.0657)
OKLCHoklch(34.89% 0.084 128.3)
XYZxyz(3.0797, 4.4740, 0.9597)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4209 #1E0942
analogous
#423B09 #2D4209 #114209
triadic
#2D4209 #092D42 #42092D
tetradic
#2D4209 #09423B #1E0942 #420911
square
#2D4209 #09423B #1E0942 #420911
split-complementary
#2D4209 #091142 #3B0942
monochromatic
#121B04 #121B04 #2D4209 #527810 #76AE18

Accessibility & contrast

On white

11.08
#2D4209 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2D4209 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4209
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4209#FFFFFF#000000##FFFFFF
##2D42091.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#433B0F
Tritanopia (blue-blind)
#2F3F37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d4209;
/* rgb */ color: rgb(45, 66, 9);
/* oklch */ color: oklch(34.9% 0.084 128.3);
Tailwind
colors: {
  custom: {
    50: '#68764d',
    500: '#2d4209',
    950: '#000000',
  },
}
SCSS
$custom: #2d4209;
$custom-light: #68764d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4209",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 9
  },
  "hsl": {
    "h": 82.105,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34889,
    "c": 0.08377,
    "h": 128.3
  },
  "luminance": 0.04474
}

Semantic roles & 50–950 ramp

primary
#2D4209
secondary
#482780
accent
#35F37B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D4209

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2D4209 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva