#2D4A19#2D4A19

#2D4A19 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.4% C 0.083 H 134.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#2D4A19
RGBrgb(45, 74, 25)
HSLhsl(96, 49%, 19%)
HSVhsv(96, 66%, 29%)
CMYKcmyk(39.2%, 0%, 66.2%, 71%)
CIE-LABlab(28.18, -20.89, 25.31)
CIE-LCHlch(28.18, 32.82, 129.53°)
OKLaboklab(37.38% -0.058 0.0591)
OKLCHoklch(37.38% 0.083 134.5)
XYZxyz(3.7064, 5.5255, 1.7908)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A19 #36194A
analogous
#464A19 #2D4A19 #194A1E
triadic
#2D4A19 #192D4A #4A192D
tetradic
#2D4A19 #19464A #36194A #4A1E19
square
#2D4A19 #19464A #36194A #4A1E19
split-complementary
#2D4A19 #1E194A #4A1946
monochromatic
#0E1708 #111C0A #2D4A19 #497828 #65A538

Accessibility & contrast

On white

9.98
#2D4A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2D4A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A19
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A19#FFFFFF#000000##FFFFFF
##2D4A191.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4414
Deuteranopia (green-blind)
#49421D
Tritanopia (blue-blind)
#2D473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d4a19;
/* rgb */ color: rgb(45, 74, 25);
/* oklch */ color: oklch(37.4% 0.083 134.5);
Tailwind
colors: {
  custom: {
    50: '#687c58',
    500: '#2d4a19',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a19;
$custom-light: #687c58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a19",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 25
  },
  "hsl": {
    "h": 95.51,
    "s": 49.495,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37379,
    "c": 0.08281,
    "h": 134.5
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

primary
#2D4A19
secondary
#653E80
accent
#4FD9A1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4A19

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

Preview Lab → · Contrast checker → · Palette generator →

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