#2E4A14#2E4A14

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

Color values

HEX#2E4A14
RGBrgb(46, 74, 20)
HSLhsl(91, 57%, 18%)
HSVhsv(91, 73%, 29%)
CMYKcmyk(37.8%, 0%, 73%, 71%)
CIE-LABlab(28.19, -21.00, 27.89)
CIE-LCHlch(28.19, 34.91, 126.97°)
OKLaboklab(37.39% -0.0589 0.0638)
OKLCHoklch(37.39% 0.087 132.7)
XYZxyz(3.7017, 5.5288, 1.5338)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A14 #30144A
analogous
#494A14 #2E4A14 #144A15
triadic
#2E4A14 #142E4A #4A142E
tetradic
#2E4A14 #14494A #30144A #4A1514
square
#2E4A14 #14494A #30144A #4A1514
split-complementary
#2E4A14 #15144A #4A1449
monochromatic
#0F1807 #101A07 #2E4A14 #4C7A21 #6AAA2E

Accessibility & contrast

On white

9.97
#2E4A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4A14
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A14#FFFFFF#000000##FFFFFF
##2E4A141.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4a14;
/* rgb */ color: rgb(46, 74, 20);
/* oklch */ color: oklch(37.4% 0.087 132.7);
Tailwind
colors: {
  custom: {
    50: '#697c55',
    500: '#2e4a14',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a14;
$custom-light: #697c55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a14",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 20
  },
  "hsl": {
    "h": 91.111,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37385,
    "c": 0.08683,
    "h": 132.7
  },
  "luminance": 0.05529
}

Semantic roles & 50–950 ramp

primary
#2E4A14
secondary
#5E3882
accent
#47E197
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4A14

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

Preview Lab → · Contrast checker → · Palette generator →

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