#2E4817#2E4817

#2E4817 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.8% C 0.081 H 132.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2E4817
RGBrgb(46, 72, 23)
HSLhsl(92, 52%, 19%)
HSVhsv(92, 68%, 28%)
CMYKcmyk(36.1%, 0%, 68.1%, 71.8%)
CIE-LABlab(27.51, -19.65, 25.63)
CIE-LCHlch(27.51, 32.30, 127.48°)
OKLaboklab(36.84% -0.0549 0.0595)
OKLCHoklch(36.84% 0.081 132.7)
XYZxyz(3.5987, 5.2773, 1.6395)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4817 #311748
analogous
#464817 #2E4817 #174818
triadic
#2E4817 #172E48 #48172E
tetradic
#2E4817 #174648 #311748 #481817
square
#2E4817 #174648 #311748 #481817
split-complementary
#2E4817 #181748 #481746
monochromatic
#0F1707 #101A08 #2E4817 #4C7626 #69A535

Accessibility & contrast

On white

10.22
#2E4817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E4817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4817
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4817#FFFFFF#000000##FFFFFF
##2E48171.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4211
Deuteranopia (green-blind)
#47401B
Tritanopia (blue-blind)
#2E453E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e4817;
/* rgb */ color: rgb(46, 72, 23);
/* oklch */ color: oklch(36.8% 0.081 132.7);
Tailwind
colors: {
  custom: {
    50: '#697b56',
    500: '#2e4817',
    950: '#000000',
  },
}
SCSS
$custom: #2e4817;
$custom-light: #697b56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4817",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 23
  },
  "hsl": {
    "h": 91.837,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36841,
    "c": 0.08094,
    "h": 132.7
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#2E4817
secondary
#5F3C7F
accent
#4DDB98
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4817

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

Preview Lab → · Contrast checker → · Palette generator →

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