#2D4D15#2D4D15

#2D4D15 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.2% C 0.091 H 134.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2D4D15
RGBrgb(45, 77, 21)
HSLhsl(94, 57%, 19%)
HSVhsv(94, 73%, 30%)
CMYKcmyk(41.6%, 0%, 72.7%, 69.8%)
CIE-LABlab(29.21, -22.83, 28.47)
CIE-LCHlch(29.21, 36.50, 128.73°)
OKLaboklab(38.2% -0.0637 0.0652)
OKLCHoklch(38.2% 0.091 134.3)
XYZxyz(3.8713, 5.9196, 1.6479)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D15 #35154D
analogous
#494D15 #2D4D15 #154D19
triadic
#2D4D15 #152D4D #4D152D
tetradic
#2D4D15 #15494D #35154D #4D1915
square
#2D4D15 #15494D #35154D #4D1915
split-complementary
#2D4D15 #19154D #4D1549
monochromatic
#0E1807 #111D08 #2D4D15 #497D22 #65AD2F

Accessibility & contrast

On white

9.62
#2D4D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2D4D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4D15
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D15#FFFFFF#000000##FFFFFF
##2D4D151.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460E
Deuteranopia (green-blind)
#4C441A
Tritanopia (blue-blind)
#2D4A42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d4d15;
/* rgb */ color: rgb(45, 77, 21);
/* oklch */ color: oklch(38.2% 0.091 134.3);
Tailwind
colors: {
  custom: {
    50: '#697f56',
    500: '#2d4d15',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d15;
$custom-light: #697f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d15",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 21
  },
  "hsl": {
    "h": 94.286,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38203,
    "c": 0.09119,
    "h": 134.3
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#2D4D15
secondary
#643985
accent
#47E09F
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4D15

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

Preview Lab → · Contrast checker → · Palette generator →

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