#2E4B16#2E4B16

#2E4B16 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.087 H 133.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2E4B16
RGBrgb(46, 75, 22)
HSLhsl(93, 55%, 19%)
HSVhsv(93, 71%, 29%)
CMYKcmyk(38.7%, 0%, 70.7%, 70.6%)
CIE-LABlab(28.57, -21.31, 27.31)
CIE-LCHlch(28.57, 34.64, 127.97°)
OKLaboklab(37.7% -0.0595 0.0629)
OKLCHoklch(37.7% 0.087 133.4)
XYZxyz(3.7875, 5.6708, 1.6539)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B16 #33164B
analogous
#494B16 #2E4B16 #164B19
triadic
#2E4B16 #162E4B #4B162E
tetradic
#2E4B16 #16494B #33164B #4B1916
square
#2E4B16 #16494B #33164B #4B1916
split-complementary
#2E4B16 #19164B #4B1649
monochromatic
#0F1807 #111C08 #2E4B16 #4B7A24 #68AA32

Accessibility & contrast

On white

9.84
#2E4B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2E4B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B16
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B16#FFFFFF#000000##FFFFFF
##2E4B161.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450F
Deuteranopia (green-blind)
#4A431A
Tritanopia (blue-blind)
#2E4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e4b16;
/* rgb */ color: rgb(46, 75, 22);
/* oklch */ color: oklch(37.7% 0.087 133.4);
Tailwind
colors: {
  custom: {
    50: '#697d56',
    500: '#2e4b16',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b16;
$custom-light: #697d56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b16",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 22
  },
  "hsl": {
    "h": 92.83,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37698,
    "c": 0.08661,
    "h": 133.4
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#2E4B16
secondary
#623A83
accent
#4ADE9B
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4B16

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

Preview Lab → · Contrast checker → · Palette generator →

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