#2D5B0E#2D5B0E

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

Color values

HEX#2D5B0E
RGBrgb(45, 91, 14)
HSLhsl(96, 73%, 21%)
HSVhsv(96, 85%, 36%)
CMYKcmyk(50.5%, 0%, 84.6%, 64.3%)
CIE-LABlab(34.13, -29.96, 36.30)
CIE-LCHlch(34.13, 47.07, 129.54°)
OKLaboklab(42.22% -0.0835 0.0805)
OKLCHoklch(42.22% 0.116 136.1)
XYZxyz(4.9024, 8.0714, 1.7150)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5B0E #3C0E5B
analogous
#535B0E #2D5B0E #0E5B15
triadic
#2D5B0E #0E2D5B #5B0E2D
tetradic
#2D5B0E #0E535B #3C0E5B #5B150E
square
#2D5B0E #0E535B #3C0E5B #5B150E
split-complementary
#2D5B0E #150E5B #5B0E53
monochromatic
#0D1B04 #132606 #2D5B0E #479016 #61C51E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D5B0E#FFFFFF#000000##FFFFFF
##2D5B0E1.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)
#584F17
Tritanopia (blue-blind)
#2B574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d5b0e;
/* rgb */ color: rgb(45, 91, 14);
/* oklch */ color: oklch(42.2% 0.116 136.1);
Tailwind
colors: {
  custom: {
    50: '#6b8a54',
    500: '#2d5b0e',
    950: '#000000',
  },
}
SCSS
$custom: #2d5b0e;
$custom-light: #6b8a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5b0e",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 14
  },
  "hsl": {
    "h": 95.844,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4222,
    "c": 0.11602,
    "h": 136.1
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#2D5B0E
secondary
#6C3095
accent
#38F0A6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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