#2E4616#2E4616

#2E4616 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.3% C 0.079 H 131.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2E4616
RGBrgb(46, 70, 22)
HSLhsl(90, 52%, 18%)
HSVhsv(90, 69%, 27%)
CMYKcmyk(34.3%, 0%, 68.6%, 72.5%)
CIE-LABlab(26.79, -18.70, 25.35)
CIE-LCHlch(26.79, 31.50, 126.41°)
OKLaboklab(36.25% -0.0524 0.0588)
OKLCHoklch(36.25% 0.079 131.7)
XYZxyz(3.4616, 5.0190, 1.5453)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4616 #2E1646
analogous
#464616 #2E4616 #164616
triadic
#2E4616 #162E46 #46162E
tetradic
#2E4616 #164646 #2E1646 #461616
square
#2E4616 #164646 #2E1646 #461616
split-complementary
#2E4616 #161646 #461646
monochromatic
#0F1707 #0F1707 #2E4616 #4D7525 #6BA333

Accessibility & contrast

On white

10.48
#2E4616 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E4616 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4616
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4616#FFFFFF#000000##FFFFFF
##2E46161.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494110
Deuteranopia (green-blind)
#463F1A
Tritanopia (blue-blind)
#2F433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e4616;
/* rgb */ color: rgb(46, 70, 22);
/* oklch */ color: oklch(36.3% 0.079 131.7);
Tailwind
colors: {
  custom: {
    50: '#697955',
    500: '#2e4616',
    950: '#000000',
  },
}
SCSS
$custom: #2e4616;
$custom-light: #697955;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4616",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 22
  },
  "hsl": {
    "h": 90,
    "s": 52.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36251,
    "c": 0.07871,
    "h": 131.7
  },
  "luminance": 0.05019
}

Semantic roles & 50–950 ramp

primary
#2E4616
secondary
#5C3A7D
accent
#4CDC94
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4616

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

Preview Lab → · Contrast checker → · Palette generator →

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