#2E4B14#2E4B14

#2E4B14 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.088 H 133.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2E4B14
RGBrgb(46, 75, 20)
HSLhsl(92, 58%, 19%)
HSVhsv(92, 73%, 29%)
CMYKcmyk(38.7%, 0%, 73.3%, 70.6%)
CIE-LABlab(28.55, -21.51, 28.27)
CIE-LCHlch(28.55, 35.52, 127.27°)
OKLaboklab(37.67% -0.0603 0.0646)
OKLCHoklch(37.67% 0.088 133)
XYZxyz(3.7690, 5.6633, 1.5562)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B14 #31144B
analogous
#494B14 #2E4B14 #144B15
triadic
#2E4B14 #142E4B #4B142E
tetradic
#2E4B14 #14494B #31144B #4B1514
square
#2E4B14 #14494B #31144B #4B1514
split-complementary
#2E4B14 #15144B #4B1449
monochromatic
#0F1806 #101B07 #2E4B14 #4C7B21 #69AC2E

Accessibility & contrast

On white

9.85
#2E4B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2E4B14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B14
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B14#FFFFFF#000000##FFFFFF
##2E4B141.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450D
Deuteranopia (green-blind)
#4A4319
Tritanopia (blue-blind)
#2E4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e4b14;
/* rgb */ color: rgb(46, 75, 20);
/* oklch */ color: oklch(37.7% 0.088 133.0);
Tailwind
colors: {
  custom: {
    50: '#697d55',
    500: '#2e4b14',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b14;
$custom-light: #697d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b14",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 20
  },
  "hsl": {
    "h": 91.636,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37675,
    "c": 0.08837,
    "h": 133
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#2E4B14
secondary
#5F3883
accent
#47E198
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4B14

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

Preview Lab → · Contrast checker → · Palette generator →

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