#2D4D13#2D4D13

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

Color values

HEX#2D4D13
RGBrgb(45, 77, 19)
HSLhsl(93, 60%, 19%)
HSVhsv(93, 75%, 30%)
CMYKcmyk(41.6%, 0%, 75.3%, 69.8%)
CIE-LABlab(29.19, -23.02, 29.40)
CIE-LCHlch(29.19, 37.34, 128.06°)
OKLaboklab(38.18% -0.0644 0.0669)
OKLCHoklch(38.18% 0.093 133.9)
XYZxyz(3.8535, 5.9125, 1.5541)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D13 #33134D
analogous
#4A4D13 #2D4D13 #134D16
triadic
#2D4D13 #132D4D #4D132D
tetradic
#2D4D13 #134A4D #33134D #4D1613
square
#2D4D13 #134A4D #33134D #4D1613
split-complementary
#2D4D13 #16134D #4D134A
monochromatic
#0E1906 #101C07 #2D4D13 #4A7E1F #66AF2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4D13#FFFFFF#000000##FFFFFF
##2D4D131.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)
#50460A
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#2D4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d4d13;
/* rgb */ color: rgb(45, 77, 19);
/* oklch */ color: oklch(38.2% 0.093 133.9);
Tailwind
colors: {
  custom: {
    50: '#697f54',
    500: '#2d4d13',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d13;
$custom-light: #697f54;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d13",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 19
  },
  "hsl": {
    "h": 93.103,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38182,
    "c": 0.09284,
    "h": 133.9
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#2D4D13
secondary
#623686
accent
#44E49C
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4D13

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

Preview Lab → · Contrast checker → · Palette generator →

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