#2D4B19#2D4B19

#2D4B19 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.084 H 134.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2D4B19
RGBrgb(45, 75, 25)
HSLhsl(96, 50%, 20%)
HSVhsv(96, 67%, 29%)
CMYKcmyk(40%, 0%, 66.7%, 70.6%)
CIE-LABlab(28.54, -21.40, 25.72)
CIE-LCHlch(28.54, 33.46, 129.77°)
OKLaboklab(37.67% -0.0594 0.0599)
OKLCHoklch(37.67% 0.084 134.8)
XYZxyz(3.7737, 5.6601, 1.8132)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4B19 #37194B
analogous
#464B19 #2D4B19 #194B1E
triadic
#2D4B19 #192D4B #4B192D
tetradic
#2D4B19 #19464B #37194B #4B1E19
square
#2D4B19 #19464B #37194B #4B1E19
split-complementary
#2D4B19 #1E194B #4B1946
monochromatic
#0E1708 #111D0A #2D4B19 #497928 #64A738

Accessibility & contrast

On white

9.85
#2D4B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2D4B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4B19
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4B19#FFFFFF#000000##FFFFFF
##2D4B191.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4513
Deuteranopia (green-blind)
#4A421D
Tritanopia (blue-blind)
#2D4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d4b19;
/* rgb */ color: rgb(45, 75, 25);
/* oklch */ color: oklch(37.7% 0.084 134.8);
Tailwind
colors: {
  custom: {
    50: '#687d58',
    500: '#2d4b19',
    950: '#000000',
  },
}
SCSS
$custom: #2d4b19;
$custom-light: #687d58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4b19",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 25
  },
  "hsl": {
    "h": 96,
    "s": 50,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37669,
    "c": 0.08441,
    "h": 134.8
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#2D4B19
secondary
#673E81
accent
#4EDAA2
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4B19

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

Preview Lab → · Contrast checker → · Palette generator →

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