#2E4A0D#2E4A0D

#2E4A0D is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.092 H 131.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2E4A0D
RGBrgb(46, 74, 13)
HSLhsl(88, 70%, 17%)
HSVhsv(88, 82%, 29%)
CMYKcmyk(37.8%, 0%, 82.4%, 71%)
CIE-LABlab(28.13, -21.57, 30.96)
CIE-LCHlch(28.13, 37.73, 124.87°)
OKLaboklab(37.32% -0.0611 0.0691)
OKLCHoklch(37.32% 0.092 131.5)
XYZxyz(3.6481, 5.5073, 1.2515)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A0D #290D4A
analogous
#4A480D #2E4A0D #104A0D
triadic
#2E4A0D #0D2E4A #4A0D2E
tetradic
#2E4A0D #0D4A48 #290D4A #4A0D10
square
#2E4A0D #0D4A48 #290D4A #4A0D10
split-complementary
#2E4A0D #0D104A #480D4A
monochromatic
#101A05 #101A05 #2E4A0D #4E7E16 #6FB21F

Accessibility & contrast

On white

9.99
#2E4A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2E4A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A0D
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A0D#FFFFFF#000000##FFFFFF
##2E4A0D1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4403
Deuteranopia (green-blind)
#4A4213
Tritanopia (blue-blind)
#2F473E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e4a0d;
/* rgb */ color: rgb(46, 74, 13);
/* oklch */ color: oklch(37.3% 0.092 131.5);
Tailwind
colors: {
  custom: {
    50: '#6a7c51',
    500: '#2e4a0d',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a0d;
$custom-light: #6a7c51;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a0d",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 13
  },
  "hsl": {
    "h": 87.541,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37321,
    "c": 0.09223,
    "h": 131.5
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#2E4A0D
secondary
#562E85
accent
#3BED8D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2E4A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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