#2E4717#2E4717

#2E4717 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.6% C 0.079 H 132.3°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2E4717
RGBrgb(46, 71, 23)
HSLhsl(91, 51%, 18%)
HSVhsv(91, 68%, 28%)
CMYKcmyk(35.2%, 0%, 67.6%, 72.2%)
CIE-LABlab(27.16, -19.12, 25.23)
CIE-LCHlch(27.16, 31.66, 127.15°)
OKLaboklab(36.55% -0.0534 0.0586)
OKLCHoklch(36.55% 0.079 132.3)
XYZxyz(3.5346, 5.1491, 1.6181)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4717 #301747
analogous
#464717 #2E4717 #174718
triadic
#2E4717 #172E47 #47172E
tetradic
#2E4717 #174647 #301747 #471817
square
#2E4717 #174647 #301747 #471817
split-complementary
#2E4717 #181747 #471746
monochromatic
#0F1707 #101908 #2E4717 #4C7526 #6AA335

Accessibility & contrast

On white

10.35
#2E4717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E4717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4717
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4717#FFFFFF#000000##FFFFFF
##2E47171.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4112
Deuteranopia (green-blind)
#473F1B
Tritanopia (blue-blind)
#2F443D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e4717;
/* rgb */ color: rgb(46, 71, 23);
/* oklch */ color: oklch(36.6% 0.079 132.3);
Tailwind
colors: {
  custom: {
    50: '#697a56',
    500: '#2e4717',
    950: '#000000',
  },
}
SCSS
$custom: #2e4717;
$custom-light: #697a56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4717",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 23
  },
  "hsl": {
    "h": 91.25,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36552,
    "c": 0.07934,
    "h": 132.3
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#2E4717
secondary
#5E3C7E
accent
#4DDB97
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4717

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

Preview Lab → · Contrast checker → · Palette generator →

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