#2D580F#2D580F

#2D580F is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.4% C 0.111 H 135.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2D580F
RGBrgb(45, 88, 15)
HSLhsl(95, 71%, 20%)
HSVhsv(95, 83%, 35%)
CMYKcmyk(48.9%, 0%, 83%, 65.5%)
CIE-LABlab(33.07, -28.55, 34.94)
CIE-LCHlch(33.07, 45.12, 129.25°)
OKLaboklab(41.35% -0.0797 0.0778)
OKLCHoklch(41.35% 0.111 135.7)
XYZxyz(4.6580, 7.5715, 1.6679)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D580F #3A0F58
analogous
#52580F #2D580F #0F5815
triadic
#2D580F #0F2D58 #580F2D
tetradic
#2D580F #0F5258 #3A0F58 #58150F
square
#2D580F #0F5258 #3A0F58 #58150F
split-complementary
#2D580F #150F58 #580F52
monochromatic
#0D1A04 #122406 #2D580F #488C18 #62C121

Accessibility & contrast

On white

8.35
#2D580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D580F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D580F#FFFFFF#000000##FFFFFF
##2D580F1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5001
Deuteranopia (green-blind)
#564C17
Tritanopia (blue-blind)
#2B544A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d580f;
/* rgb */ color: rgb(45, 88, 15);
/* oklch */ color: oklch(41.4% 0.111 135.7);
Tailwind
colors: {
  custom: {
    50: '#6b8754',
    500: '#2d580f',
    950: '#000000',
  },
}
SCSS
$custom: #2d580f;
$custom-light: #6b8754;
$custom-dark: #000000;
JSON
{
  "hex": "#2d580f",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 95.342,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41354,
    "c": 0.11138,
    "h": 135.7
  },
  "luminance": 0.07572
}

Semantic roles & 50–950 ramp

primary
#2D580F
secondary
#6A3192
accent
#3AEEA4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D580F

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

Preview Lab → · Contrast checker → · Palette generator →

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