#2E5415#2E5415

#2E5415 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.3% C 0.101 H 135.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2E5415
RGBrgb(46, 84, 21)
HSLhsl(96, 60%, 21%)
HSVhsv(96, 75%, 33%)
CMYKcmyk(45.2%, 0%, 75%, 67.1%)
CIE-LABlab(31.75, -25.85, 31.17)
CIE-LCHlch(31.75, 40.50, 129.67°)
OKLaboklab(40.3% -0.072 0.0709)
OKLCHoklch(40.3% 0.101 135.4)
XYZxyz(4.4323, 6.9754, 1.8222)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5415 #3B1554
analogous
#4D5415 #2E5415 #15541B
triadic
#2E5415 #152E54 #54152E
tetradic
#2E5415 #154D54 #3B1554 #541B15
square
#2E5415 #154D54 #3B1554 #541B15
split-complementary
#2E5415 #1B1554 #54154D
monochromatic
#0D1806 #132309 #2E5415 #498521 #64B62D

Accessibility & contrast

On white

8.77
#2E5415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E5415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5415
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5415#FFFFFF#000000##FFFFFF
##2E54151.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0C
Deuteranopia (green-blind)
#524A1B
Tritanopia (blue-blind)
#2D5147
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e5415;
/* rgb */ color: rgb(46, 84, 21);
/* oklch */ color: oklch(40.3% 0.101 135.4);
Tailwind
colors: {
  custom: {
    50: '#6a8456',
    500: '#2e5415',
    950: '#000000',
  },
}
SCSS
$custom: #2e5415;
$custom-light: #6a8456;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5415",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 21
  },
  "hsl": {
    "h": 96.19,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40297,
    "c": 0.10103,
    "h": 135.4
  },
  "luminance": 0.06976
}

Semantic roles & 50–950 ramp

primary
#2E5415
secondary
#6B398C
accent
#45E3A4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5415

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

Preview Lab → · Contrast checker → · Palette generator →

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