#2E4D15#2E4D15

#2E4D15 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.3% C 0.091 H 133.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2E4D15
RGBrgb(46, 77, 21)
HSLhsl(93, 57%, 19%)
HSVhsv(93, 73%, 30%)
CMYKcmyk(40.3%, 0%, 72.7%, 69.8%)
CIE-LABlab(29.27, -22.43, 28.55)
CIE-LCHlch(29.27, 36.31, 128.15°)
OKLaboklab(38.27% -0.0627 0.0654)
OKLCHoklch(38.27% 0.091 133.8)
XYZxyz(3.9159, 5.9426, 1.6500)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D15 #34154D
analogous
#4A4D15 #2E4D15 #154D18
triadic
#2E4D15 #152E4D #4D152E
tetradic
#2E4D15 #154A4D #34154D #4D1815
square
#2E4D15 #154A4D #34154D #4D1815
split-complementary
#2E4D15 #18154D #4D154A
monochromatic
#0E1807 #111D08 #2E4D15 #4B7D22 #67AD2F

Accessibility & contrast

On white

9.60
#2E4D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2E4D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D15
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D15#FFFFFF#000000##FFFFFF
##2E4D151.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50470E
Deuteranopia (green-blind)
#4C441A
Tritanopia (blue-blind)
#2E4A42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e4d15;
/* rgb */ color: rgb(46, 77, 21);
/* oklch */ color: oklch(38.3% 0.091 133.8);
Tailwind
colors: {
  custom: {
    50: '#6a7f56',
    500: '#2e4d15',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d15;
$custom-light: #6a7f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d15",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 21
  },
  "hsl": {
    "h": 93.214,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38266,
    "c": 0.09057,
    "h": 133.8
  },
  "luminance": 0.05943
}

Semantic roles & 50–950 ramp

primary
#2E4D15
secondary
#633985
accent
#47E09C
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2E4D15

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

Preview Lab → · Contrast checker → · Palette generator →

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