#2D4009#2D4009

#2D4009 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.3% C 0.081 H 127.3°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#2D4009
RGBrgb(45, 64, 9)
HSLhsl(81, 75%, 14%)
HSVhsv(81, 86%, 25%)
CMYKcmyk(29.7%, 0%, 85.9%, 74.9%)
CIE-LABlab(24.46, -17.01, 29.00)
CIE-LCHlch(24.46, 33.62, 120.40°)
OKLaboklab(34.31% -0.049 0.0643)
OKLCHoklch(34.31% 0.081 127.3)
XYZxyz(2.9649, 4.2443, 0.9214)
Luminance0.0424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4009 #1C0940
analogous
#403809 #2D4009 #124009
triadic
#2D4009 #092D40 #40092D
tetradic
#2D4009 #094038 #1C0940 #400912
square
#2D4009 #094038 #1C0940 #400912
split-complementary
#2D4009 #091240 #380940
monochromatic
#131B04 #131B04 #2D4009 #537611 #78AB18

Accessibility & contrast

On white

11.36
#2D4009 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2D4009 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4009
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4009#FFFFFF#000000##FFFFFF
##2D40091.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B01
Deuteranopia (green-blind)
#413A0E
Tritanopia (blue-blind)
#2F3D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d4009;
/* rgb */ color: rgb(45, 64, 9);
/* oklch */ color: oklch(34.3% 0.081 127.3);
Tailwind
colors: {
  custom: {
    50: '#68754d',
    500: '#2d4009',
    950: '#000000',
  },
}
SCSS
$custom: #2d4009;
$custom-light: #68754d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4009",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 9
  },
  "hsl": {
    "h": 80.727,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34307,
    "c": 0.08083,
    "h": 127.3
  },
  "luminance": 0.04244
}

Semantic roles & 50–950 ramp

primary
#2D4009
secondary
#45277E
accent
#36F277
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D4009

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

Preview Lab → · Contrast checker → · Palette generator →

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