#2E4516#2E4516

#2E4516 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.077 H 131.3°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2E4516
RGBrgb(46, 69, 22)
HSLhsl(89, 52%, 18%)
HSVhsv(89, 68%, 27%)
CMYKcmyk(33.3%, 0%, 68.1%, 72.9%)
CIE-LABlab(26.43, -18.16, 24.96)
CIE-LCHlch(26.43, 30.86, 126.05°)
OKLaboklab(35.96% -0.0509 0.0579)
OKLCHoklch(35.96% 0.077 131.3)
XYZxyz(3.3996, 4.8949, 1.5246)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4516 #2D1645
analogous
#454416 #2E4516 #164516
triadic
#2E4516 #162E45 #45162E
tetradic
#2E4516 #164544 #2D1645 #451616
square
#2E4516 #164544 #2D1645 #451616
split-complementary
#2E4516 #161645 #441645
monochromatic
#0F1707 #0F1707 #2E4516 #4D7325 #6CA234

Accessibility & contrast

On white

10.61
#2E4516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E4516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4516
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4516#FFFFFF#000000##FFFFFF
##2E45161.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484011
Deuteranopia (green-blind)
#453E19
Tritanopia (blue-blind)
#2F423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e4516;
/* rgb */ color: rgb(46, 69, 22);
/* oklch */ color: oklch(36.0% 0.077 131.3);
Tailwind
colors: {
  custom: {
    50: '#697955',
    500: '#2e4516',
    950: '#000000',
  },
}
SCSS
$custom: #2e4516;
$custom-light: #697955;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4516",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 22
  },
  "hsl": {
    "h": 89.362,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.35962,
    "c": 0.0771,
    "h": 131.3
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#2E4516
secondary
#5B3A7C
accent
#4DDB92
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4516

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

Preview Lab → · Contrast checker → · Palette generator →

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