#2E4E15#2E4E15

#2E4E15 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.092 H 134.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2E4E15
RGBrgb(46, 78, 21)
HSLhsl(94, 58%, 19%)
HSVhsv(94, 73%, 31%)
CMYKcmyk(41%, 0%, 73.1%, 69.4%)
CIE-LABlab(29.62, -22.93, 28.93)
CIE-LCHlch(29.62, 36.92, 128.39°)
OKLaboklab(38.56% -0.064 0.0662)
OKLCHoklch(38.56% 0.092 134.1)
XYZxyz(3.9864, 6.0836, 1.6735)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E15 #35154E
analogous
#4B4E15 #2E4E15 #154E18
triadic
#2E4E15 #152E4E #4E152E
tetradic
#2E4E15 #154B4E #35154E #4E1815
square
#2E4E15 #154B4E #35154E #4E1815
split-complementary
#2E4E15 #18154E #4E154B
monochromatic
#0E1806 #121E08 #2E4E15 #4A7E22 #67AE2F

Accessibility & contrast

On white

9.47
#2E4E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2E4E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E15
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E15#FFFFFF#000000##FFFFFF
##2E4E151.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470D
Deuteranopia (green-blind)
#4D451A
Tritanopia (blue-blind)
#2E4B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4e15;
/* rgb */ color: rgb(46, 78, 21);
/* oklch */ color: oklch(38.6% 0.092 134.1);
Tailwind
colors: {
  custom: {
    50: '#6a8056',
    500: '#2e4e15',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e15;
$custom-light: #6a8056;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e15",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 93.684,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38556,
    "c": 0.0921,
    "h": 134.1
  },
  "luminance": 0.06084
}

Semantic roles & 50–950 ramp

primary
#2E4E15
secondary
#643986
accent
#47E19D
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E4E15

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

Preview Lab → · Contrast checker → · Palette generator →

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