#2E4E0D#2E4E0D

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

Color values

HEX#2E4E0D
RGBrgb(46, 78, 13)
HSLhsl(90, 71%, 18%)
HSVhsv(90, 83%, 31%)
CMYKcmyk(41%, 0%, 83.3%, 69.4%)
CIE-LABlab(29.56, -23.57, 32.34)
CIE-LCHlch(29.56, 40.02, 126.09°)
OKLaboklab(38.49% -0.0665 0.072)
OKLCHoklch(38.49% 0.098 132.7)
XYZxyz(3.9237, 6.0585, 1.3434)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E0D #2D0D4E
analogous
#4E4D0D #2E4E0D #0E4E0D
triadic
#2E4E0D #0D2E4E #4E0D2E
tetradic
#2E4E0D #0D4E4D #2D0D4E #4E0D0E
square
#2E4E0D #0D4E4D #2D0D4E #4E0D0E
split-complementary
#2E4E0D #0D0E4E #4D0D4E
monochromatic
#0F1A04 #0F1A04 #2E4E0D #4D8216 #6CB71E

Accessibility & contrast

On white

9.49
#2E4E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4E0D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E0D#FFFFFF#000000##FFFFFF
##2E4E0D1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4e0d;
/* rgb */ color: rgb(46, 78, 13);
/* oklch */ color: oklch(38.5% 0.098 132.7);
Tailwind
colors: {
  custom: {
    50: '#6a8051',
    500: '#2e4e0d',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e0d;
$custom-light: #6a8051;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e0d",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 13
  },
  "hsl": {
    "h": 89.538,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38485,
    "c": 0.09801,
    "h": 132.7
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

primary
#2E4E0D
secondary
#5B2E89
accent
#3AEE93
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2E4E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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