#2E4E17#2E4E17

#2E4E17 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.090 H 134.5°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2E4E17
RGBrgb(46, 78, 23)
HSLhsl(95, 54%, 20%)
HSVhsv(95, 71%, 31%)
CMYKcmyk(41%, 0%, 70.5%, 69.4%)
CIE-LABlab(29.64, -22.73, 27.98)
CIE-LCHlch(29.64, 36.05, 129.09°)
OKLaboklab(38.58% -0.0633 0.0645)
OKLCHoklch(38.58% 0.09 134.5)
XYZxyz(4.0057, 6.0913, 1.7751)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E17 #37174E
analogous
#4A4E17 #2E4E17 #174E1C
triadic
#2E4E17 #172E4E #4E172E
tetradic
#2E4E17 #174A4E #37174E #4E1C17
square
#2E4E17 #174A4E #37174E #4E1C17
split-complementary
#2E4E17 #1C174E #4E174A
monochromatic
#0E1807 #121F09 #2E4E17 #4A7D25 #66AD33

Accessibility & contrast

On white

9.47
#2E4E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2E4E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E17
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E17#FFFFFF#000000##FFFFFF
##2E4E171.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514710
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#2E4B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4e17;
/* rgb */ color: rgb(46, 78, 23);
/* oklch */ color: oklch(38.6% 0.090 134.5);
Tailwind
colors: {
  custom: {
    50: '#6a8057',
    500: '#2e4e17',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e17;
$custom-light: #6a8057;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e17",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 94.909,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38578,
    "c": 0.09036,
    "h": 134.5
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#2E4E17
secondary
#663C85
accent
#4ADEA0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2E4E17

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

Preview Lab → · Contrast checker → · Palette generator →

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