#2D4614#2D4614

#2D4614 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.081 H 131.9°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2D4614
RGBrgb(45, 70, 20)
HSLhsl(90, 56%, 18%)
HSVhsv(90, 71%, 27%)
CMYKcmyk(35.7%, 0%, 71.4%, 72.5%)
CIE-LABlab(26.70, -19.34, 26.27)
CIE-LCHlch(26.70, 32.62, 126.36°)
OKLaboklab(36.16% -0.0542 0.0604)
OKLCHoklch(36.16% 0.081 131.9)
XYZxyz(3.3986, 4.9886, 1.4455)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4614 #2D1446
analogous
#464614 #2D4614 #144614
triadic
#2D4614 #142D46 #46142D
tetradic
#2D4614 #144646 #2D1446 #461414
square
#2D4614 #144646 #2D1446 #461414
split-complementary
#2D4614 #141446 #461446
monochromatic
#0F1807 #0F1807 #2D4614 #4C7622 #6AA52F

Accessibility & contrast

On white

10.51
#2D4614 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2D4614 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4614
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4614#FFFFFF#000000##FFFFFF
##2D46141.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400E
Deuteranopia (green-blind)
#463E18
Tritanopia (blue-blind)
#2E433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d4614;
/* rgb */ color: rgb(45, 70, 20);
/* oklch */ color: oklch(36.2% 0.081 131.9);
Tailwind
colors: {
  custom: {
    50: '#687954',
    500: '#2d4614',
    950: '#000000',
  },
}
SCSS
$custom: #2d4614;
$custom-light: #687954;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4614",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 20
  },
  "hsl": {
    "h": 90,
    "s": 55.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36156,
    "c": 0.08122,
    "h": 131.9
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#2D4614
secondary
#5B387E
accent
#49DF94
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4614

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

Preview Lab → · Contrast checker → · Palette generator →

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