#2E580D#2E580D

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

Color values

HEX#2E580D
RGBrgb(46, 88, 13)
HSLhsl(94, 74%, 20%)
HSVhsv(94, 85%, 35%)
CMYKcmyk(47.7%, 0%, 85.2%, 65.5%)
CIE-LABlab(33.11, -28.31, 35.70)
CIE-LCHlch(33.11, 45.57, 128.41°)
OKLaboklab(41.4% -0.0792 0.0791)
OKLCHoklch(41.4% 0.112 135.1)
XYZxyz(4.6890, 7.5891, 1.5985)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E580D #370D58
analogous
#54580D #2E580D #0D5812
triadic
#2E580D #0D2E58 #580D2E
tetradic
#2E580D #0D5458 #370D58 #58120D
square
#2E580D #0D5458 #370D58 #58120D
split-complementary
#2E580D #120D58 #580D54
monochromatic
#0E1B04 #122305 #2E580D #4A8D15 #66C31D

Accessibility & contrast

On white

8.34
#2E580D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2E580D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E580D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E580D#FFFFFF#000000##FFFFFF
##2E580D1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e580d;
/* rgb */ color: rgb(46, 88, 13);
/* oklch */ color: oklch(41.4% 0.112 135.1);
Tailwind
colors: {
  custom: {
    50: '#6c8753',
    500: '#2e580d',
    950: '#000000',
  },
}
SCSS
$custom: #2e580d;
$custom-light: #6c8753;
$custom-dark: #000000;
JSON
{
  "hex": "#2e580d",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 13
  },
  "hsl": {
    "h": 93.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41395,
    "c": 0.11194,
    "h": 135.1
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

primary
#2E580D
secondary
#662E93
accent
#37F19F
background
#F6F8F4
surface
#ECEFE8
border
#C7CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E580D

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

Preview Lab → · Contrast checker → · Palette generator →

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