#2D4A0B#2D4A0B

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

Color values

HEX#2D4A0B
RGBrgb(45, 74, 11)
HSLhsl(88, 74%, 17%)
HSVhsv(88, 85%, 29%)
CMYKcmyk(39.2%, 0%, 85.1%, 71%)
CIE-LABlab(28.06, -22.13, 31.64)
CIE-LCHlch(28.06, 38.61, 124.97°)
OKLaboklab(37.24% -0.0627 0.0702)
OKLCHoklch(37.24% 0.094 131.7)
XYZxyz(3.5913, 5.4795, 1.1850)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A0B #280B4A
analogous
#4A480B #2D4A0B #0E4A0B
triadic
#2D4A0B #0B2D4A #4A0B2D
tetradic
#2D4A0B #0B4A48 #280B4A #4A0B0E
square
#2D4A0B #0B4A48 #280B4A #4A0B0E
split-complementary
#2D4A0B #0B0E4A #480B4A
monochromatic
#101B04 #101B04 #2D4A0B #4D7F13 #6EB51B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4A0B#FFFFFF#000000##FFFFFF
##2D4A0B1.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)
#4A4112
Tritanopia (blue-blind)
#2E473E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d4a0b;
/* rgb */ color: rgb(45, 74, 11);
/* oklch */ color: oklch(37.2% 0.094 131.7);
Tailwind
colors: {
  custom: {
    50: '#697c50',
    500: '#2d4a0b',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a0b;
$custom-light: #697c50;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a0b",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 11
  },
  "hsl": {
    "h": 87.619,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37239,
    "c": 0.09412,
    "h": 131.7
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#2D4A0B
secondary
#552B86
accent
#37F18D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D4A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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