#2D4005#2D4005

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

Color values

HEX#2D4005
RGBrgb(45, 64, 5)
HSLhsl(79, 86%, 14%)
HSVhsv(79, 92%, 25%)
CMYKcmyk(29.7%, 0%, 92.2%, 74.9%)
CIE-LABlab(24.44, -17.28, 30.60)
CIE-LCHlch(24.44, 35.15, 119.46°)
OKLaboklab(34.28% -0.0501 0.067)
OKLCHoklch(34.28% 0.084 126.8)
XYZxyz(2.9430, 4.2356, 0.8060)
Luminance0.0424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4005 #180540
analogous
#403505 #2D4005 #0F4005
triadic
#2D4005 #052D40 #40052D
tetradic
#2D4005 #054035 #180540 #40050F
square
#2D4005 #054035 #180540 #40050F
split-complementary
#2D4005 #050F40 #350540
monochromatic
#141C02 #141C02 #2D4005 #557909 #7DB20E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4005#FFFFFF#000000##FFFFFF
##2D40051.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)
#413A0B
Tritanopia (blue-blind)
#2F3C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d4005;
/* rgb */ color: rgb(45, 64, 5);
/* oklch */ color: oklch(34.3% 0.084 126.8);
Tailwind
colors: {
  custom: {
    50: '#69754b',
    500: '#2d4005',
    950: '#000000',
  },
}
SCSS
$custom: #2d4005;
$custom-light: #69754b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4005",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 5
  },
  "hsl": {
    "h": 79.322,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.34275,
    "c": 0.08367,
    "h": 126.8
  },
  "luminance": 0.04236
}

Semantic roles & 50–950 ramp

primary
#2D4005
secondary
#3F2081
accent
#2CFC6F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D4005

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

Preview Lab → · Contrast checker → · Palette generator →

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