#2D4006#2D4006

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

Color values

HEX#2D4006
RGBrgb(45, 64, 6)
HSLhsl(80, 83%, 14%)
HSVhsv(80, 91%, 25%)
CMYKcmyk(29.7%, 0%, 90.6%, 74.9%)
CIE-LABlab(24.44, -17.22, 30.20)
CIE-LCHlch(24.44, 34.76, 119.69°)
OKLaboklab(34.28% -0.0498 0.0663)
OKLCHoklch(34.28% 0.083 126.9)
XYZxyz(2.9485, 4.2378, 0.8349)
Luminance0.0424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4006 #190640
analogous
#403606 #2D4006 #104006
triadic
#2D4006 #062D40 #40062D
tetradic
#2D4006 #064036 #190640 #400610
square
#2D4006 #064036 #190640 #400610
split-complementary
#2D4006 #061040 #360640
monochromatic
#141C03 #141C03 #2D4006 #54780B #7CB010

Accessibility & contrast

On white

11.37
#2D4006 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4006
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4006#FFFFFF#000000##FFFFFF
##2D40061.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#413A0C
Tritanopia (blue-blind)
#2F3D35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d4006;
/* rgb */ color: rgb(45, 64, 6);
/* oklch */ color: oklch(34.3% 0.083 126.9);
Tailwind
colors: {
  custom: {
    50: '#68754c',
    500: '#2d4006',
    950: '#000000',
  },
}
SCSS
$custom: #2d4006;
$custom-light: #68754c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4006",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 6
  },
  "hsl": {
    "h": 79.655,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.34283,
    "c": 0.08296,
    "h": 126.9
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#2D4006
secondary
#412280
accent
#2FF971
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D4006

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

Preview Lab → · Contrast checker → · Palette generator →

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