#2D4A0D#2D4A0D

#2D4A0D is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.093 H 132.0°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2D4A0D
RGBrgb(45, 74, 13)
HSLhsl(89, 70%, 17%)
HSVhsv(89, 82%, 29%)
CMYKcmyk(39.2%, 0%, 82.4%, 71%)
CIE-LABlab(28.07, -22.00, 30.88)
CIE-LCHlch(28.07, 37.91, 125.47°)
OKLaboklab(37.25% -0.0621 0.069)
OKLCHoklch(37.25% 0.093 132)
XYZxyz(3.6036, 5.4844, 1.2494)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A0D #2A0D4A
analogous
#4A490D #2D4A0D #0E4A0D
triadic
#2D4A0D #0D2D4A #4A0D2D
tetradic
#2D4A0D #0D4A49 #2A0D4A #4A0D0E
square
#2D4A0D #0D4A49 #2A0D4A #4A0D0E
split-complementary
#2D4A0D #0D0E4A #490D4A
monochromatic
#101A05 #101A05 #2D4A0D #4D7E16 #6CB21F

Accessibility & contrast

On white

10.01
#2D4A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4A0D
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A0D#FFFFFF#000000##FFFFFF
##2D4A0D1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4403
Deuteranopia (green-blind)
#4A4113
Tritanopia (blue-blind)
#2E473E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d4a0d;
/* rgb */ color: rgb(45, 74, 13);
/* oklch */ color: oklch(37.3% 0.093 132.0);
Tailwind
colors: {
  custom: {
    50: '#697c51',
    500: '#2d4a0d',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a0d;
$custom-light: #697c51;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a0d",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 13
  },
  "hsl": {
    "h": 88.525,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37254,
    "c": 0.09283,
    "h": 132
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

primary
#2D4A0D
secondary
#572E85
accent
#3BED90
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D4A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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