#2D4608#2D4608

#2D4608 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.0% C 0.090 H 129.9°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2D4608
RGBrgb(45, 70, 8)
HSLhsl(84, 79%, 15%)
HSVhsv(84, 89%, 27%)
CMYKcmyk(35.7%, 0%, 88.6%, 72.5%)
CIE-LABlab(26.61, -20.27, 31.42)
CIE-LCHlch(26.61, 37.39, 122.83°)
OKLaboklab(36.05% -0.0579 0.0692)
OKLCHoklch(36.05% 0.09 129.9)
XYZxyz(3.3162, 4.9556, 1.0115)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4608 #210846
analogous
#464008 #2D4608 #0E4608
triadic
#2D4608 #082D46 #46082D
tetradic
#2D4608 #084640 #210846 #46080E
square
#2D4608 #084640 #210846 #46080E
split-complementary
#2D4608 #080E46 #400846
monochromatic
#121B03 #121B03 #2D4608 #507D0E #74B415

Accessibility & contrast

On white

10.55
#2D4608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2D4608 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4608
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4608#FFFFFF#000000##FFFFFF
##2D46081.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#463E0F
Tritanopia (blue-blind)
#2E433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d4608;
/* rgb */ color: rgb(45, 70, 8);
/* oklch */ color: oklch(36.0% 0.090 129.9);
Tailwind
colors: {
  custom: {
    50: '#69794e',
    500: '#2d4608',
    950: '#000000',
  },
}
SCSS
$custom: #2d4608;
$custom-light: #69794e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4608",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 8
  },
  "hsl": {
    "h": 84.194,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.36049,
    "c": 0.09021,
    "h": 129.9
  },
  "luminance": 0.04956
}

Semantic roles & 50–950 ramp

primary
#2D4608
secondary
#4C2684
accent
#32F681
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D4608

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

Preview Lab → · Contrast checker → · Palette generator →

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