#2E4917#2E4917

#2E4917 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.083 H 133.0°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2E4917
RGBrgb(46, 73, 23)
HSLhsl(92, 52%, 19%)
HSVhsv(92, 68%, 29%)
CMYKcmyk(37%, 0%, 68.5%, 71.4%)
CIE-LABlab(27.87, -20.17, 26.03)
CIE-LCHlch(27.87, 32.93, 127.78°)
OKLaboklab(37.13% -0.0563 0.0603)
OKLCHoklch(37.13% 0.083 133)
XYZxyz(3.6639, 5.4077, 1.6612)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4917 #321749
analogous
#474917 #2E4917 #174919
triadic
#2E4917 #172E49 #49172E
tetradic
#2E4917 #174749 #321749 #491917
square
#2E4917 #174749 #321749 #491917
split-complementary
#2E4917 #191749 #491747
monochromatic
#0F1707 #111A08 #2E4917 #4B7826 #69A634

Accessibility & contrast

On white

10.09
#2E4917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2E4917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4917
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4917#FFFFFF#000000##FFFFFF
##2E49171.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4311
Deuteranopia (green-blind)
#48411B
Tritanopia (blue-blind)
#2E463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e4917;
/* rgb */ color: rgb(46, 73, 23);
/* oklch */ color: oklch(37.1% 0.083 133.0);
Tailwind
colors: {
  custom: {
    50: '#697c56',
    500: '#2e4917',
    950: '#000000',
  },
}
SCSS
$custom: #2e4917;
$custom-light: #697c56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4917",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 23
  },
  "hsl": {
    "h": 92.4,
    "s": 52.083,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3713,
    "c": 0.08254,
    "h": 133
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#2E4917
secondary
#613C80
accent
#4CDC9A
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4917

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

Preview Lab → · Contrast checker → · Palette generator →

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