#2E4811#2E4811

#2E4811 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.8% C 0.086 H 131.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2E4811
RGBrgb(46, 72, 17)
HSLhsl(88, 62%, 17%)
HSVhsv(88, 76%, 28%)
CMYKcmyk(36.1%, 0%, 76.4%, 71.8%)
CIE-LABlab(27.45, -20.23, 28.54)
CIE-LCHlch(27.45, 34.98, 125.34°)
OKLaboklab(36.77% -0.0571 0.0647)
OKLCHoklch(36.77% 0.086 131.4)
XYZxyz(3.5452, 5.2559, 1.3579)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4811 #2B1148
analogous
#484711 #2E4811 #124811
triadic
#2E4811 #112E48 #48112E
tetradic
#2E4811 #114847 #2B1148 #481112
square
#2E4811 #114847 #2B1148 #481112
split-complementary
#2E4811 #111248 #471148
monochromatic
#101906 #101906 #2E4811 #4E7A1D #6DAB28

Accessibility & contrast

On white

10.24
#2E4811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2E4811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4811
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4811#FFFFFF#000000##FFFFFF
##2E48111.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4209
Deuteranopia (green-blind)
#484016
Tritanopia (blue-blind)
#2F453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e4811;
/* rgb */ color: rgb(46, 72, 17);
/* oklch */ color: oklch(36.8% 0.086 131.4);
Tailwind
colors: {
  custom: {
    50: '#697b53',
    500: '#2e4811',
    950: '#000000',
  },
}
SCSS
$custom: #2e4811;
$custom-light: #697b53;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4811",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 17
  },
  "hsl": {
    "h": 88.364,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36774,
    "c": 0.08629,
    "h": 131.4
  },
  "luminance": 0.05256
}

Semantic roles & 50–950 ramp

primary
#2E4811
secondary
#583382
accent
#43E58F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E4811

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

Preview Lab → · Contrast checker → · Palette generator →

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