#2E4116#2E4116

#2E4116 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.071 H 129.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2E4116
RGBrgb(46, 65, 22)
HSLhsl(87, 49%, 17%)
HSVhsv(87, 66%, 25%)
CMYKcmyk(29.2%, 0%, 66.2%, 74.5%)
CIE-LABlab(25.01, -15.97, 23.36)
CIE-LCHlch(25.01, 28.29, 124.36°)
OKLaboklab(34.81% -0.0448 0.0545)
OKLCHoklch(34.81% 0.071 129.5)
XYZxyz(3.1618, 4.4193, 1.4453)
Luminance0.0442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4116 #291641
analogous
#413F16 #2E4116 #194116
triadic
#2E4116 #162E41 #41162E
tetradic
#2E4116 #16413F #291641 #411619
square
#2E4116 #16413F #291641 #411619
split-complementary
#2E4116 #161941 #3F1641
monochromatic
#101708 #101708 #2E4116 #4E6F25 #6F9C35

Accessibility & contrast

On white

11.15
#2E4116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E4116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4116
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4116#FFFFFF#000000##FFFFFF
##2E41161.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C11
Deuteranopia (green-blind)
#423B19
Tritanopia (blue-blind)
#2F3E38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e4116;
/* rgb */ color: rgb(46, 65, 22);
/* oklch */ color: oklch(34.8% 0.071 129.5);
Tailwind
colors: {
  custom: {
    50: '#687555',
    500: '#2e4116',
    950: '#000000',
  },
}
SCSS
$custom: #2e4116;
$custom-light: #687555;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4116",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 22
  },
  "hsl": {
    "h": 86.512,
    "s": 49.425,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34809,
    "c": 0.07058,
    "h": 129.5
  },
  "luminance": 0.04419
}

Semantic roles & 50–950 ramp

primary
#2E4116
secondary
#563A78
accent
#4FD98C
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2E4116

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

Preview Lab → · Contrast checker → · Palette generator →

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