#2D4A09#2D4A09

#2D4A09 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.2% C 0.095 H 131.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#2D4A09
RGBrgb(45, 74, 9)
HSLhsl(87, 78%, 16%)
HSVhsv(87, 88%, 29%)
CMYKcmyk(39.2%, 0%, 87.8%, 71%)
CIE-LABlab(28.05, -22.25, 32.36)
CIE-LCHlch(28.05, 39.28, 124.51°)
OKLaboklab(37.23% -0.0631 0.0714)
OKLCHoklch(37.23% 0.095 131.5)
XYZxyz(3.5802, 5.4750, 1.1265)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A09 #26094A
analogous
#4A4709 #2D4A09 #0D4A09
triadic
#2D4A09 #092D4A #4A092D
tetradic
#2D4A09 #094A47 #26094A #4A090D
square
#2D4A09 #094A47 #26094A #4A090D
split-complementary
#2D4A09 #090D4A #47094A
monochromatic
#111B03 #111B03 #2D4A09 #4E8110 #6FB716

Accessibility & contrast

On white

10.02
#2D4A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D4A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A09
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A09#FFFFFF#000000##FFFFFF
##2D4A091.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#4A4110
Tritanopia (blue-blind)
#2E463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d4a09;
/* rgb */ color: rgb(45, 74, 9);
/* oklch */ color: oklch(37.2% 0.095 131.5);
Tailwind
colors: {
  custom: {
    50: '#697c4f',
    500: '#2d4a09',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a09;
$custom-light: #697c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a09",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 9
  },
  "hsl": {
    "h": 86.769,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.37226,
    "c": 0.0953,
    "h": 131.5
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#2D4A09
secondary
#522787
accent
#33F589
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2D4A09

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

Preview Lab → · Contrast checker → · Palette generator →

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