#2E4217#2E4217

#2E4217 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.071 H 130.2°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2E4217
RGBrgb(46, 66, 23)
HSLhsl(88, 48%, 17%)
HSVhsv(88, 65%, 26%)
CMYKcmyk(30.3%, 0%, 65.2%, 74.1%)
CIE-LABlab(25.38, -16.41, 23.22)
CIE-LCHlch(25.38, 28.44, 125.25°)
OKLaboklab(35.11% -0.046 0.0543)
OKLCHoklch(35.11% 0.071 130.2)
XYZxyz(3.2296, 4.5391, 1.5164)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4217 #2B1742
analogous
#424117 #2E4217 #184217
triadic
#2E4217 #172E42 #42172E
tetradic
#2E4217 #174241 #2B1742 #421718
square
#2E4217 #174241 #2B1742 #421718
split-complementary
#2E4217 #171842 #411742
monochromatic
#101708 #101708 #2E4217 #4E6F27 #6D9D37

Accessibility & contrast

On white

11.01
#2E4217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E4217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4217
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4217#FFFFFF#000000##FFFFFF
##2E42171.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D13
Deuteranopia (green-blind)
#423C1A
Tritanopia (blue-blind)
#2F3F39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e4217;
/* rgb */ color: rgb(46, 66, 23);
/* oklch */ color: oklch(35.1% 0.071 130.2);
Tailwind
colors: {
  custom: {
    50: '#687656',
    500: '#2e4217',
    950: '#000000',
  },
}
SCSS
$custom: #2e4217;
$custom-light: #687656;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4217",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 23
  },
  "hsl": {
    "h": 87.907,
    "s": 48.315,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3511,
    "c": 0.07118,
    "h": 130.2
  },
  "luminance": 0.04539
}

Semantic roles & 50–950 ramp

primary
#2E4217
secondary
#583C79
accent
#50D88F
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2E4217

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

Preview Lab → · Contrast checker → · Palette generator →

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