#2E4117#2E4117

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

Color values

HEX#2E4117
RGBrgb(46, 65, 23)
HSLhsl(87, 48%, 17%)
HSVhsv(87, 65%, 25%)
CMYKcmyk(29.2%, 0%, 64.6%, 74.5%)
CIE-LABlab(25.02, -15.86, 22.82)
CIE-LCHlch(25.02, 27.79, 124.79°)
OKLaboklab(34.82% -0.0444 0.0535)
OKLCHoklch(34.82% 0.07 129.7)
XYZxyz(3.1716, 4.4232, 1.4971)
Luminance0.0442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4117 #2A1741
analogous
#413F17 #2E4117 #194117
triadic
#2E4117 #172E41 #41172E
tetradic
#2E4117 #17413F #2A1741 #411719
square
#2E4117 #17413F #2A1741 #411719
split-complementary
#2E4117 #171941 #3F1741
monochromatic
#101708 #101708 #2E4117 #4E6E27 #6E9B37

Accessibility & contrast

On white

11.14
#2E4117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4117
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4117#FFFFFF#000000##FFFFFF
##2E41171.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C13
Deuteranopia (green-blind)
#413B1A
Tritanopia (blue-blind)
#2F3E38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e4117;
/* rgb */ color: rgb(46, 65, 23);
/* oklch */ color: oklch(34.8% 0.070 129.7);
Tailwind
colors: {
  custom: {
    50: '#687555',
    500: '#2e4117',
    950: '#000000',
  },
}
SCSS
$custom: #2e4117;
$custom-light: #687555;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4117",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 23
  },
  "hsl": {
    "h": 87.143,
    "s": 47.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.34822,
    "c": 0.06952,
    "h": 129.7
  },
  "luminance": 0.04423
}

Semantic roles & 50–950 ramp

primary
#2E4117
secondary
#573C78
accent
#50D78D
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2E4117

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

Preview Lab → · Contrast checker → · Palette generator →

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