#2E590F#2E590F

#2E590F is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.7% C 0.112 H 135.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2E590F
RGBrgb(46, 89, 15)
HSLhsl(95, 71%, 20%)
HSVhsv(95, 83%, 35%)
CMYKcmyk(48.3%, 0%, 83.1%, 65.1%)
CIE-LABlab(33.48, -28.64, 35.34)
CIE-LCHlch(33.48, 45.49, 129.02°)
OKLaboklab(41.7% -0.08 0.0786)
OKLCHoklch(41.7% 0.112 135.5)
XYZxyz(4.7852, 7.7598, 1.6975)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E590F #3A0F59
analogous
#53590F #2E590F #0F5915
triadic
#2E590F #0F2E59 #590F2E
tetradic
#2E590F #0F5359 #3A0F59 #59150F
square
#2E590F #0F5359 #3A0F59 #59150F
split-complementary
#2E590F #150F59 #590F53
monochromatic
#0E1A04 #132506 #2E590F #498D18 #64C221

Accessibility & contrast

On white

8.23
#2E590F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2E590F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E590F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E590F#FFFFFF#000000##FFFFFF
##2E590F1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#574D17
Tritanopia (blue-blind)
#2D554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e590f;
/* rgb */ color: rgb(46, 89, 15);
/* oklch */ color: oklch(41.7% 0.112 135.5);
Tailwind
colors: {
  custom: {
    50: '#6c8854',
    500: '#2e590f',
    950: '#000000',
  },
}
SCSS
$custom: #2e590f;
$custom-light: #6c8854;
$custom-dark: #000000;
JSON
{
  "hex": "#2e590f",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 15
  },
  "hsl": {
    "h": 94.865,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41698,
    "c": 0.11217,
    "h": 135.5
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#2E590F
secondary
#6A3193
accent
#3AEEA2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E590F

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

Preview Lab → · Contrast checker → · Palette generator →

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