#2D4806#2D4806

#2D4806 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.094 H 130.5°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2D4806
RGBrgb(45, 72, 6)
HSLhsl(85, 85%, 15%)
HSVhsv(85, 92%, 28%)
CMYKcmyk(37.5%, 0%, 91.7%, 71.8%)
CIE-LABlab(27.31, -21.42, 32.85)
CIE-LCHlch(27.31, 39.22, 123.11°)
OKLaboklab(36.62% -0.0612 0.0718)
OKLCHoklch(36.62% 0.094 130.5)
XYZxyz(3.4324, 5.2056, 0.9962)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4806 #210648
analogous
#484206 #2D4806 #0C4806
triadic
#2D4806 #062D48 #48062D
tetradic
#2D4806 #064842 #210648 #48060C
square
#2D4806 #064842 #210648 #48060C
split-complementary
#2D4806 #060C48 #420648
monochromatic
#121C02 #121C02 #2D4806 #50800B #74B90F

Accessibility & contrast

On white

10.29
#2D4806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2D4806 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4806
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4806#FFFFFF#000000##FFFFFF
##2D48061.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#48400E
Tritanopia (blue-blind)
#2E443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d4806;
/* rgb */ color: rgb(45, 72, 6);
/* oklch */ color: oklch(36.6% 0.094 130.5);
Tailwind
colors: {
  custom: {
    50: '#697b4d',
    500: '#2d4806',
    950: '#000000',
  },
}
SCSS
$custom: #2d4806;
$custom-light: #697b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4806",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 6
  },
  "hsl": {
    "h": 84.545,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3662,
    "c": 0.09429,
    "h": 130.5
  },
  "luminance": 0.05206
}

Semantic roles & 50–950 ramp

primary
#2D4806
secondary
#4C2387
accent
#2DFB81
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #2D4806

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

Preview Lab → · Contrast checker → · Palette generator →

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