#2E4417#2E4417

#2E4417 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.074 H 131.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2E4417
RGBrgb(46, 68, 23)
HSLhsl(89, 49%, 18%)
HSVhsv(89, 66%, 27%)
CMYKcmyk(32.4%, 0%, 66.2%, 73.3%)
CIE-LABlab(26.09, -17.51, 24.03)
CIE-LCHlch(26.09, 29.73, 126.07°)
OKLaboklab(35.69% -0.049 0.0561)
OKLCHoklch(35.69% 0.074 131.2)
XYZxyz(3.3485, 4.7768, 1.5560)
Luminance0.0478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4417 #2D1744
analogous
#444317 #2E4417 #174417
triadic
#2E4417 #172E44 #44172E
tetradic
#2E4417 #174443 #2D1744 #441717
square
#2E4417 #174443 #2D1744 #441717
split-complementary
#2E4417 #171744 #431744
monochromatic
#0F1708 #0F1708 #2E4417 #4D7226 #6C9F36

Accessibility & contrast

On white

10.74
#2E4417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2E4417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4417
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4417#FFFFFF#000000##FFFFFF
##2E44171.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F12
Deuteranopia (green-blind)
#443D1A
Tritanopia (blue-blind)
#2F413A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e4417;
/* rgb */ color: rgb(46, 68, 23);
/* oklch */ color: oklch(35.7% 0.074 131.2);
Tailwind
colors: {
  custom: {
    50: '#687856',
    500: '#2e4417',
    950: '#000000',
  },
}
SCSS
$custom: #2e4417;
$custom-light: #687856;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4417",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 23
  },
  "hsl": {
    "h": 89.333,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.35686,
    "c": 0.07447,
    "h": 131.2
  },
  "luminance": 0.04777
}

Semantic roles & 50–950 ramp

primary
#2E4417
secondary
#5B3C7B
accent
#4FD992
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4417

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

Preview Lab → · Contrast checker → · Palette generator →

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