#2D5E0D#2D5E0D

#2D5E0D is a dark, vivid yellow-green. Relative luminance 0.086; OKLCH L 43.1% C 0.121 H 136.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2D5E0D
RGBrgb(45, 94, 13)
HSLhsl(96, 76%, 21%)
HSVhsv(96, 86%, 37%)
CMYKcmyk(52.1%, 0%, 86.2%, 63.1%)
CIE-LABlab(35.19, -31.34, 37.61)
CIE-LCHlch(35.19, 48.96, 129.80°)
OKLaboklab(43.09% -0.0873 0.0831)
OKLCHoklch(43.09% 0.121 136.4)
XYZxyz(5.1574, 8.5920, 1.7674)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E0D #3E0D5E
analogous
#555E0D #2D5E0D #0D5E15
triadic
#2D5E0D #0D2D5E #5E0D2D
tetradic
#2D5E0D #0D555E #3E0D5E #5E150D
square
#2D5E0D #0D555E #3E0D5E #5E150D
split-complementary
#2D5E0D #150D5E #5E0D55
monochromatic
#0D1B04 #132806 #2D5E0D #479414 #60CA1C

Accessibility & contrast

On white

7.73
#2D5E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2D5E0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5E0D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E0D#FFFFFF#000000##FFFFFF
##2D5E0D1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625500
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#2A5A4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5e0d;
/* rgb */ color: rgb(45, 94, 13);
/* oklch */ color: oklch(43.1% 0.121 136.4);
Tailwind
colors: {
  custom: {
    50: '#6c8c54',
    500: '#2d5e0d',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e0d;
$custom-light: #6c8c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e0d",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 13
  },
  "hsl": {
    "h": 96.296,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43086,
    "c": 0.12053,
    "h": 136.4
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#2D5E0D
secondary
#6E2F98
accent
#36F2A8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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