#2D5B0D#2D5B0D

#2D5B0D is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.2% C 0.117 H 136.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2D5B0D
RGBrgb(45, 91, 13)
HSLhsl(95, 75%, 20%)
HSVhsv(95, 86%, 36%)
CMYKcmyk(50.5%, 0%, 85.7%, 64.3%)
CIE-LABlab(34.13, -30.02, 36.63)
CIE-LCHlch(34.13, 47.36, 129.34°)
OKLaboklab(42.21% -0.0838 0.081)
OKLCHoklch(42.21% 0.117 136)
XYZxyz(4.8958, 8.0688, 1.6801)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5B0D #3B0D5B
analogous
#545B0D #2D5B0D #0D5B14
triadic
#2D5B0D #0D2D5B #5B0D2D
tetradic
#2D5B0D #0D545B #3B0D5B #5B140D
square
#2D5B0D #0D545B #3B0D5B #5B140D
split-complementary
#2D5B0D #140D5B #5B0D54
monochromatic
#0D1B04 #132505 #2D5B0D #479115 #62C61C

Accessibility & contrast

On white

8.03
#2D5B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2D5B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5B0D
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5B0D#FFFFFF#000000##FFFFFF
##2D5B0D1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#2B574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d5b0d;
/* rgb */ color: rgb(45, 91, 13);
/* oklch */ color: oklch(42.2% 0.117 136.0);
Tailwind
colors: {
  custom: {
    50: '#6b8a53',
    500: '#2d5b0d',
    950: '#000000',
  },
}
SCSS
$custom: #2d5b0d;
$custom-light: #6b8a53;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5b0d",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 13
  },
  "hsl": {
    "h": 95.385,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42214,
    "c": 0.11655,
    "h": 136
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#2D5B0D
secondary
#6B2F95
accent
#36F2A5
background
#F6F8F5
surface
#ECF0E8
border
#C7CBC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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