#2D580D#2D580D

#2D580D is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.3% C 0.113 H 135.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2D580D
RGBrgb(45, 88, 13)
HSLhsl(94, 74%, 20%)
HSVhsv(94, 85%, 35%)
CMYKcmyk(48.9%, 0%, 85.2%, 65.5%)
CIE-LABlab(33.06, -28.68, 35.64)
CIE-LCHlch(33.06, 45.75, 128.82°)
OKLaboklab(41.34% -0.0802 0.079)
OKLCHoklch(41.34% 0.113 135.4)
XYZxyz(4.6444, 7.5661, 1.5964)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D580D #380D58
analogous
#53580D #2D580D #0D5813
triadic
#2D580D #0D2D58 #580D2D
tetradic
#2D580D #0D5358 #380D58 #58130D
square
#2D580D #0D5358 #380D58 #58130D
split-complementary
#2D580D #130D58 #580D53
monochromatic
#0E1B04 #122305 #2D580D #488D15 #64C31D

Accessibility & contrast

On white

8.36
#2D580D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2D580D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D580D
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D580D#FFFFFF#000000##FFFFFF
##2D580D1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5000
Deuteranopia (green-blind)
#564C16
Tritanopia (blue-blind)
#2C544A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d580d;
/* rgb */ color: rgb(45, 88, 13);
/* oklch */ color: oklch(41.3% 0.113 135.4);
Tailwind
colors: {
  custom: {
    50: '#6b8753',
    500: '#2d580d',
    950: '#000000',
  },
}
SCSS
$custom: #2d580d;
$custom-light: #6b8753;
$custom-dark: #000000;
JSON
{
  "hex": "#2d580d",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 13
  },
  "hsl": {
    "h": 94.4,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.11251,
    "h": 135.4
  },
  "luminance": 0.07566
}

Semantic roles & 50–950 ramp

primary
#2D580D
secondary
#682E93
accent
#37F1A2
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D580D

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

Preview Lab → · Contrast checker → · Palette generator →

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