#2E4A13#2E4A13

#2E4A13 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.4% C 0.088 H 132.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#2E4A13
RGBrgb(46, 74, 19)
HSLhsl(91, 59%, 18%)
HSVhsv(91, 74%, 29%)
CMYKcmyk(37.8%, 0%, 74.3%, 71%)
CIE-LABlab(28.18, -21.09, 28.36)
CIE-LCHlch(28.18, 35.34, 126.64°)
OKLaboklab(37.38% -0.0592 0.0647)
OKLCHoklch(37.38% 0.088 132.5)
XYZxyz(3.6930, 5.5253, 1.4879)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A13 #2F134A
analogous
#494A13 #2E4A13 #134A13
triadic
#2E4A13 #132E4A #4A132E
tetradic
#2E4A13 #13494A #2F134A #4A1313
square
#2E4A13 #13494A #2F134A #4A1313
split-complementary
#2E4A13 #13134A #4A1349
monochromatic
#0F1806 #101906 #2E4A13 #4C7B20 #6BAB2C

Accessibility & contrast

On white

9.98
#2E4A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2E4A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A13
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A13#FFFFFF#000000##FFFFFF
##2E4A131.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440B
Deuteranopia (green-blind)
#494218
Tritanopia (blue-blind)
#2F473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e4a13;
/* rgb */ color: rgb(46, 74, 19);
/* oklch */ color: oklch(37.4% 0.088 132.5);
Tailwind
colors: {
  custom: {
    50: '#697c54',
    500: '#2e4a13',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a13;
$custom-light: #697c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a13",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 19
  },
  "hsl": {
    "h": 90.545,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37375,
    "c": 0.08769,
    "h": 132.5
  },
  "luminance": 0.05525
}

Semantic roles & 50–950 ramp

primary
#2E4A13
secondary
#5D3683
accent
#45E295
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4A13

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

Preview Lab → · Contrast checker → · Palette generator →

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