#2E4E0B#2E4E0B

#2E4E0B is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.5% C 0.099 H 132.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2E4E0B
RGBrgb(46, 78, 11)
HSLhsl(89, 75%, 17%)
HSVhsv(89, 86%, 31%)
CMYKcmyk(41%, 0%, 85.9%, 69.4%)
CIE-LABlab(29.55, -23.70, 33.07)
CIE-LCHlch(29.55, 40.68, 125.63°)
OKLaboklab(38.47% -0.067 0.0732)
OKLCHoklch(38.47% 0.099 132.5)
XYZxyz(3.9115, 6.0536, 1.2789)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E0B #2B0B4E
analogous
#4E4D0B #2E4E0B #0C4E0B
triadic
#2E4E0B #0B2E4E #4E0B2E
tetradic
#2E4E0B #0B4E4D #2B0B4E #4E0B0C
square
#2E4E0B #0B4E4D #2B0B4E #4E0B0C
split-complementary
#2E4E0B #0B0C4E #4D0B4E
monochromatic
#101B04 #101B04 #2E4E0B #4E8413 #6DB91A

Accessibility & contrast

On white

9.50
#2E4E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2E4E0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E0B
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E0B#FFFFFF#000000##FFFFFF
##2E4E0B1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524700
Deuteranopia (green-blind)
#4D4512
Tritanopia (blue-blind)
#2E4A42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4e0b;
/* rgb */ color: rgb(46, 78, 11);
/* oklch */ color: oklch(38.5% 0.099 132.5);
Tailwind
colors: {
  custom: {
    50: '#6a8050',
    500: '#2e4e0b',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e0b;
$custom-light: #6a8050;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e0b",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 11
  },
  "hsl": {
    "h": 88.657,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38471,
    "c": 0.09921,
    "h": 132.5
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#2E4E0B
secondary
#582B8A
accent
#36F290
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2E4E0B

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

Preview Lab → · Contrast checker → · Palette generator →

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