#2E4A0B#2E4A0B

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

Color values

HEX#2E4A0B
RGBrgb(46, 74, 11)
HSLhsl(87, 74%, 17%)
HSVhsv(87, 85%, 29%)
CMYKcmyk(37.8%, 0%, 85.1%, 71%)
CIE-LABlab(28.12, -21.70, 31.72)
CIE-LCHlch(28.12, 38.44, 124.38°)
OKLaboklab(37.31% -0.0616 0.0704)
OKLCHoklch(37.31% 0.094 131.2)
XYZxyz(3.6359, 5.5024, 1.1870)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A0B #270B4A
analogous
#4A470B #2E4A0B #0E4A0B
triadic
#2E4A0B #0B2E4A #4A0B2E
tetradic
#2E4A0B #0B4A47 #270B4A #4A0B0E
square
#2E4A0B #0B4A47 #270B4A #4A0B0E
split-complementary
#2E4A0B #0B0E4A #470B4A
monochromatic
#111B04 #111B04 #2E4A0B #4F7F13 #70B51B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4A0B#FFFFFF#000000##FFFFFF
##2E4A0B1.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)
#4A4212
Tritanopia (blue-blind)
#2F463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e4a0b;
/* rgb */ color: rgb(46, 74, 11);
/* oklch */ color: oklch(37.3% 0.094 131.2);
Tailwind
colors: {
  custom: {
    50: '#6a7c50',
    500: '#2e4a0b',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a0b;
$custom-light: #6a7c50;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a0b",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 11
  },
  "hsl": {
    "h": 86.667,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37306,
    "c": 0.09351,
    "h": 131.2
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#2E4A0B
secondary
#532B86
accent
#37F18A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2E4A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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