#2E4A0A#2E4A0A

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

Color values

HEX#2E4A0A
RGBrgb(46, 74, 10)
HSLhsl(86, 76%, 16%)
HSVhsv(86, 86%, 29%)
CMYKcmyk(37.8%, 0%, 86.5%, 71%)
CIE-LABlab(28.11, -21.76, 32.08)
CIE-LCHlch(28.11, 38.77, 124.15°)
OKLaboklab(37.3% -0.0618 0.0709)
OKLCHoklch(37.3% 0.094 131.1)
XYZxyz(3.6303, 5.5002, 1.1575)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A0A #260A4A
analogous
#4A460A #2E4A0A #0E4A0A
triadic
#2E4A0A #0A2E4A #4A0A2E
tetradic
#2E4A0A #0A4A46 #260A4A #4A0A0E
square
#2E4A0A #0A4A46 #260A4A #4A0A0E
split-complementary
#2E4A0A #0A0E4A #460A4A
monochromatic
#111B04 #111B04 #2E4A0A #508011 #71B619

Accessibility & contrast

On white

10.00
#2E4A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4A0A
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A0A#FFFFFF#000000##FFFFFF
##2E4A0A1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#4A4211
Tritanopia (blue-blind)
#2F463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e4a0a;
/* rgb */ color: rgb(46, 74, 10);
/* oklch */ color: oklch(37.3% 0.094 131.1);
Tailwind
colors: {
  custom: {
    50: '#6a7c4f',
    500: '#2e4a0a',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a0a;
$custom-light: #6a7c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a0a",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 10
  },
  "hsl": {
    "h": 86.25,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.37299,
    "c": 0.0941,
    "h": 131.1
  },
  "luminance": 0.055
}

Semantic roles & 50–950 ramp

primary
#2E4A0A
secondary
#522987
accent
#35F388
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2E4A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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