#2E4B0E#2E4B0E

#2E4B0E is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.6% C 0.093 H 131.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2E4B0E
RGBrgb(46, 75, 14)
HSLhsl(89, 69%, 17%)
HSVhsv(89, 81%, 29%)
CMYKcmyk(38.7%, 0%, 81.3%, 70.6%)
CIE-LABlab(28.50, -22.01, 30.91)
CIE-LCHlch(28.50, 37.94, 125.45°)
OKLaboklab(37.62% -0.0622 0.0692)
OKLCHoklch(37.62% 0.093 131.9)
XYZxyz(3.7220, 5.6446, 1.3088)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B0E #2B0E4B
analogous
#4B4A0E #2E4B0E #0F4B0E
triadic
#2E4B0E #0E2E4B #4B0E2E
tetradic
#2E4B0E #0E4B4A #2B0E4B #4B0E0F
square
#2E4B0E #0E4B4A #2B0E4B #4B0E0F
split-complementary
#2E4B0E #0E0F4B #4A0E4B
monochromatic
#101A05 #101A05 #2E4B0E #4E7F18 #6DB221

Accessibility & contrast

On white

9.86
#2E4B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4B0E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B0E#FFFFFF#000000##FFFFFF
##2E4B0E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4504
Deuteranopia (green-blind)
#4B4214
Tritanopia (blue-blind)
#2F483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e4b0e;
/* rgb */ color: rgb(46, 75, 14);
/* oklch */ color: oklch(37.6% 0.093 131.9);
Tailwind
colors: {
  custom: {
    50: '#6a7d51',
    500: '#2e4b0e',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b0e;
$custom-light: #6a7d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b0e",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 14
  },
  "hsl": {
    "h": 88.525,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37619,
    "c": 0.09301,
    "h": 131.9
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#2E4B0E
secondary
#582F86
accent
#3CEB90
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2E4B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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