#2E4612#2E4612

#2E4612 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.082 H 130.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2E4612
RGBrgb(46, 70, 18)
HSLhsl(88, 59%, 17%)
HSVhsv(88, 74%, 27%)
CMYKcmyk(34.3%, 0%, 74.3%, 72.5%)
CIE-LABlab(26.75, -19.09, 27.33)
CIE-LCHlch(26.75, 33.34, 124.94°)
OKLaboklab(36.21% -0.0538 0.0624)
OKLCHoklch(36.21% 0.082 130.8)
XYZxyz(3.4260, 5.0047, 1.3576)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4612 #2A1246
analogous
#464412 #2E4612 #144612
triadic
#2E4612 #122E46 #46122E
tetradic
#2E4612 #124644 #2A1246 #461214
square
#2E4612 #124644 #2A1246 #461214
split-complementary
#2E4612 #121446 #441246
monochromatic
#101806 #101806 #2E4612 #4E771F #6EA72B

Accessibility & contrast

On white

10.49
#2E4612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4612
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4612#FFFFFF#000000##FFFFFF
##2E46121.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400B
Deuteranopia (green-blind)
#463F16
Tritanopia (blue-blind)
#2F433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e4612;
/* rgb */ color: rgb(46, 70, 18);
/* oklch */ color: oklch(36.2% 0.082 130.8);
Tailwind
colors: {
  custom: {
    50: '#697953',
    500: '#2e4612',
    950: '#000000',
  },
}
SCSS
$custom: #2e4612;
$custom-light: #697953;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4612",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 18
  },
  "hsl": {
    "h": 87.692,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36205,
    "c": 0.08239,
    "h": 130.8
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#2E4612
secondary
#57357F
accent
#46E28E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E4612

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

Preview Lab → · Contrast checker → · Palette generator →

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