#2E4216#2E4216

#2E4216 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.072 H 130.0°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2E4216
RGBrgb(46, 66, 22)
HSLhsl(87, 50%, 17%)
HSVhsv(87, 67%, 26%)
CMYKcmyk(30.3%, 0%, 66.7%, 74.1%)
CIE-LABlab(25.37, -16.52, 23.76)
CIE-LCHlch(25.37, 28.94, 124.82°)
OKLaboklab(35.1% -0.0464 0.0554)
OKLCHoklch(35.1% 0.072 130)
XYZxyz(3.2197, 4.5351, 1.4646)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4216 #2A1642
analogous
#424016 #2E4216 #184216
triadic
#2E4216 #162E42 #42162E
tetradic
#2E4216 #164240 #2A1642 #421618
square
#2E4216 #164240 #2A1642 #421618
split-complementary
#2E4216 #161842 #401642
monochromatic
#101708 #101708 #2E4216 #4E7025 #6E9E35

Accessibility & contrast

On white

11.01
#2E4216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E4216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4216
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4216#FFFFFF#000000##FFFFFF
##2E42161.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D11
Deuteranopia (green-blind)
#423C19
Tritanopia (blue-blind)
#2F3F39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e4216;
/* rgb */ color: rgb(46, 66, 22);
/* oklch */ color: oklch(35.1% 0.072 130.0);
Tailwind
colors: {
  custom: {
    50: '#687655',
    500: '#2e4216',
    950: '#000000',
  },
}
SCSS
$custom: #2e4216;
$custom-light: #687655;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4216",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 22
  },
  "hsl": {
    "h": 87.273,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35096,
    "c": 0.07223,
    "h": 130
  },
  "luminance": 0.04535
}

Semantic roles & 50–950 ramp

primary
#2E4216
secondary
#573A79
accent
#4EDA8E
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2E4216

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

Preview Lab → · Contrast checker → · Palette generator →

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