#2E4712#2E4712

#2E4712 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.5% C 0.084 H 131.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2E4712
RGBrgb(46, 71, 18)
HSLhsl(88, 60%, 17%)
HSVhsv(88, 75%, 28%)
CMYKcmyk(35.2%, 0%, 74.6%, 72.2%)
CIE-LABlab(27.10, -19.62, 27.70)
CIE-LCHlch(27.10, 33.95, 125.31°)
OKLaboklab(36.49% -0.0553 0.0631)
OKLCHoklch(36.49% 0.084 131.2)
XYZxyz(3.4891, 5.1309, 1.3787)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4712 #2B1247
analogous
#474612 #2E4712 #134712
triadic
#2E4712 #122E47 #47122E
tetradic
#2E4712 #124746 #2B1247 #471213
square
#2E4712 #124746 #2B1247 #471213
split-complementary
#2E4712 #121347 #461247
monochromatic
#101806 #101806 #2E4712 #4E781E #6DA92B

Accessibility & contrast

On white

10.36
#2E4712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E4712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4712
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4712#FFFFFF#000000##FFFFFF
##2E47121.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410B
Deuteranopia (green-blind)
#473F16
Tritanopia (blue-blind)
#2F443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e4712;
/* rgb */ color: rgb(46, 71, 18);
/* oklch */ color: oklch(36.5% 0.084 131.2);
Tailwind
colors: {
  custom: {
    50: '#697a53',
    500: '#2e4712',
    950: '#000000',
  },
}
SCSS
$custom: #2e4712;
$custom-light: #697a53;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4712",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 88.302,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36494,
    "c": 0.08393,
    "h": 131.2
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#2E4712
secondary
#583580
accent
#45E38F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E4712

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

Preview Lab → · Contrast checker → · Palette generator →

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