#2D5A0E#2D5A0E

#2D5A0E is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 41.9% C 0.115 H 135.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2D5A0E
RGBrgb(45, 90, 14)
HSLhsl(96, 73%, 20%)
HSVhsv(96, 84%, 35%)
CMYKcmyk(50%, 0%, 84.4%, 64.7%)
CIE-LABlab(33.78, -29.52, 35.97)
CIE-LCHlch(33.78, 46.53, 129.38°)
OKLaboklab(41.93% -0.0824 0.0798)
OKLCHoklch(41.93% 0.115 135.9)
XYZxyz(4.8175, 7.9016, 1.6867)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5A0E #3B0E5A
analogous
#535A0E #2D5A0E #0E5A15
triadic
#2D5A0E #0E2D5A #5A0E2D
tetradic
#2D5A0E #0E535A #3B0E5A #5A150E
square
#2D5A0E #0E535A #3B0E5A #5A150E
split-complementary
#2D5A0E #150E5A #5A0E53
monochromatic
#0D1A04 #132506 #2D5A0E #478F16 #62C41E

Accessibility & contrast

On white

8.14
#2D5A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2D5A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5A0E
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5A0E#FFFFFF#000000##FFFFFF
##2D5A0E1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#584E17
Tritanopia (blue-blind)
#2B564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d5a0e;
/* rgb */ color: rgb(45, 90, 14);
/* oklch */ color: oklch(41.9% 0.115 135.9);
Tailwind
colors: {
  custom: {
    50: '#6b8954',
    500: '#2d5a0e',
    950: '#000000',
  },
}
SCSS
$custom: #2d5a0e;
$custom-light: #6b8954;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5a0e",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 14
  },
  "hsl": {
    "h": 95.526,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41929,
    "c": 0.11467,
    "h": 135.9
  },
  "luminance": 0.07902
}

Semantic roles & 50–950 ramp

primary
#2D5A0E
secondary
#6B3094
accent
#38F0A5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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