#2E4F15#2E4F15

#2E4F15 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.094 H 134.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2E4F15
RGBrgb(46, 79, 21)
HSLhsl(94, 58%, 20%)
HSVhsv(94, 73%, 31%)
CMYKcmyk(41.8%, 0%, 73.4%, 69%)
CIE-LABlab(29.98, -23.43, 29.31)
CIE-LCHlch(29.98, 37.52, 128.63°)
OKLaboklab(38.85% -0.0654 0.067)
OKLCHoklch(38.85% 0.094 134.3)
XYZxyz(4.0580, 6.2268, 1.6974)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F15 #36154F
analogous
#4B4F15 #2E4F15 #154F19
triadic
#2E4F15 #152E4F #4F152E
tetradic
#2E4F15 #154B4F #36154F #4F1915
square
#2E4F15 #154B4F #36154F #4F1915
split-complementary
#2E4F15 #19154F #4F154B
monochromatic
#0E1806 #121F08 #2E4F15 #4A7F22 #66B02F

Accessibility & contrast

On white

9.35
#2E4F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2E4F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F15
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F15#FFFFFF#000000##FFFFFF
##2E4F151.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480D
Deuteranopia (green-blind)
#4E461A
Tritanopia (blue-blind)
#2E4C43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4f15;
/* rgb */ color: rgb(46, 79, 21);
/* oklch */ color: oklch(38.8% 0.094 134.3);
Tailwind
colors: {
  custom: {
    50: '#6a8056',
    500: '#2e4f15',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f15;
$custom-light: #6a8056;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f15",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 21
  },
  "hsl": {
    "h": 94.138,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38846,
    "c": 0.09361,
    "h": 134.3
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#2E4F15
secondary
#653987
accent
#47E19F
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E4F15

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

Preview Lab → · Contrast checker → · Palette generator →

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