#2E4617#2E4617

#2E4617 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.3% C 0.078 H 132.0°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2E4617
RGBrgb(46, 70, 23)
HSLhsl(91, 51%, 18%)
HSVhsv(91, 67%, 27%)
CMYKcmyk(34.3%, 0%, 67.1%, 72.5%)
CIE-LABlab(26.80, -18.59, 24.84)
CIE-LCHlch(26.80, 31.02, 126.81°)
OKLaboklab(36.26% -0.052 0.0578)
OKLCHoklch(36.26% 0.078 132)
XYZxyz(3.4715, 5.0229, 1.5971)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4617 #2F1746
analogous
#454617 #2E4617 #174617
triadic
#2E4617 #172E46 #46172E
tetradic
#2E4617 #174546 #2F1746 #461717
square
#2E4617 #174546 #2F1746 #461717
split-complementary
#2E4617 #171746 #461745
monochromatic
#0F1708 #101808 #2E4617 #4C7426 #6BA235

Accessibility & contrast

On white

10.48
#2E4617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E4617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4617
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4617#FFFFFF#000000##FFFFFF
##2E46171.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494112
Deuteranopia (green-blind)
#463F1A
Tritanopia (blue-blind)
#2F433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e4617;
/* rgb */ color: rgb(46, 70, 23);
/* oklch */ color: oklch(36.3% 0.078 132.0);
Tailwind
colors: {
  custom: {
    50: '#697956',
    500: '#2e4617',
    950: '#000000',
  },
}
SCSS
$custom: #2e4617;
$custom-light: #697956;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4617",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 23
  },
  "hsl": {
    "h": 90.638,
    "s": 50.538,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36263,
    "c": 0.07773,
    "h": 132
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#2E4617
secondary
#5D3C7D
accent
#4EDA95
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4617

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

Preview Lab → · Contrast checker → · Palette generator →

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