#2E4A0E#2E4A0E

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

Color values

HEX#2E4A0E
RGBrgb(46, 74, 14)
HSLhsl(88, 68%, 17%)
HSVhsv(88, 81%, 29%)
CMYKcmyk(37.8%, 0%, 81.1%, 71%)
CIE-LABlab(28.14, -21.50, 30.55)
CIE-LCHlch(28.14, 37.36, 125.13°)
OKLaboklab(37.33% -0.0608 0.0685)
OKLCHoklch(37.33% 0.092 131.6)
XYZxyz(3.6547, 5.5100, 1.2863)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A0E #2A0E4A
analogous
#4A480E #2E4A0E #104A0E
triadic
#2E4A0E #0E2E4A #4A0E2E
tetradic
#2E4A0E #0E4A48 #2A0E4A #4A0E10
square
#2E4A0E #0E4A48 #2A0E4A #4A0E10
split-complementary
#2E4A0E #0E104A #480E4A
monochromatic
#101A05 #101A05 #2E4A0E #4E7D18 #6EB121

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4A0E#FFFFFF#000000##FFFFFF
##2E4A0E1.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)
#4E4404
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#2F473E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e4a0e;
/* rgb */ color: rgb(46, 74, 14);
/* oklch */ color: oklch(37.3% 0.092 131.6);
Tailwind
colors: {
  custom: {
    50: '#6a7c51',
    500: '#2e4a0e',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a0e;
$custom-light: #6a7c51;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a0e",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 14
  },
  "hsl": {
    "h": 88,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37329,
    "c": 0.09154,
    "h": 131.6
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#2E4A0E
secondary
#572F85
accent
#3DEB8E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2E4A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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