#2E4D16#2E4D16

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

Color values

HEX#2E4D16
RGBrgb(46, 77, 22)
HSLhsl(94, 56%, 19%)
HSVhsv(94, 71%, 30%)
CMYKcmyk(40.3%, 0%, 71.4%, 69.8%)
CIE-LABlab(29.28, -22.33, 28.08)
CIE-LCHlch(29.28, 35.87, 128.49°)
OKLaboklab(38.28% -0.0623 0.0645)
OKLCHoklch(38.28% 0.09 134)
XYZxyz(3.9253, 5.9463, 1.6998)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D16 #35164D
analogous
#4A4D16 #2E4D16 #164D19
triadic
#2E4D16 #162E4D #4D162E
tetradic
#2E4D16 #164A4D #35164D #4D1916
square
#2E4D16 #164A4D #35164D #4D1916
split-complementary
#2E4D16 #19164D #4D164A
monochromatic
#0E1807 #121D08 #2E4D16 #4A7D24 #67AC31

Accessibility & contrast

On white

9.59
#2E4D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4D16
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D16#FFFFFF#000000##FFFFFF
##2E4D161.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4d16;
/* rgb */ color: rgb(46, 77, 22);
/* oklch */ color: oklch(38.3% 0.090 134.0);
Tailwind
colors: {
  custom: {
    50: '#697f56',
    500: '#2e4d16',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d16;
$custom-light: #697f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d16",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 22
  },
  "hsl": {
    "h": 93.818,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38277,
    "c": 0.08971,
    "h": 134
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

primary
#2E4D16
secondary
#643A85
accent
#49DF9D
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2E4D16

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

Preview Lab → · Contrast checker → · Palette generator →

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