#2E4A16#2E4A16

#2E4A16 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.4% C 0.085 H 133.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2E4A16
RGBrgb(46, 74, 22)
HSLhsl(92, 54%, 19%)
HSVhsv(92, 70%, 29%)
CMYKcmyk(37.8%, 0%, 70.3%, 71%)
CIE-LABlab(28.21, -20.80, 26.92)
CIE-LCHlch(28.21, 34.02, 127.69°)
OKLaboklab(37.41% -0.0581 0.0621)
OKLCHoklch(37.41% 0.085 133.1)
XYZxyz(3.7203, 5.5362, 1.6315)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A16 #32164A
analogous
#484A16 #2E4A16 #164A18
triadic
#2E4A16 #162E4A #4A162E
tetradic
#2E4A16 #16484A #32164A #4A1816
square
#2E4A16 #16484A #32164A #4A1816
split-complementary
#2E4A16 #18164A #4A1648
monochromatic
#0F1807 #111B08 #2E4A16 #4B7924 #69A832

Accessibility & contrast

On white

9.97
#2E4A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2E4A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A16
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A16#FFFFFF#000000##FFFFFF
##2E4A161.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4410
Deuteranopia (green-blind)
#49421A
Tritanopia (blue-blind)
#2E473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e4a16;
/* rgb */ color: rgb(46, 74, 22);
/* oklch */ color: oklch(37.4% 0.085 133.1);
Tailwind
colors: {
  custom: {
    50: '#697c56',
    500: '#2e4a16',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a16;
$custom-light: #697c56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a16",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 22
  },
  "hsl": {
    "h": 92.308,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37408,
    "c": 0.08505,
    "h": 133.1
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

primary
#2E4A16
secondary
#613A82
accent
#4ADE9A
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4A16

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

Preview Lab → · Contrast checker → · Palette generator →

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