#2E4E19#2E4E19

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

Color values

HEX#2E4E19
RGBrgb(46, 78, 25)
HSLhsl(96, 51%, 20%)
HSVhsv(96, 68%, 31%)
CMYKcmyk(41%, 0%, 67.9%, 69.4%)
CIE-LABlab(29.66, -22.52, 26.99)
CIE-LCHlch(29.66, 35.15, 129.84°)
OKLaboklab(38.6% -0.0626 0.0626)
OKLCHoklch(38.6% 0.089 135)
XYZxyz(4.0265, 6.0996, 1.8847)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E19 #39194E
analogous
#484E19 #2E4E19 #194E1E
triadic
#2E4E19 #192E4E #4E192E
tetradic
#2E4E19 #19484E #39194E #4E1E19
square
#2E4E19 #19484E #39194E #4E1E19
split-complementary
#2E4E19 #1E194E #4E1948
monochromatic
#0E1707 #13200A #2E4E19 #497C28 #65AB37

Accessibility & contrast

On white

9.46
#2E4E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4E19
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E19#FFFFFF#000000##FFFFFF
##2E4E191.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514813
Deuteranopia (green-blind)
#4D451D
Tritanopia (blue-blind)
#2D4B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4e19;
/* rgb */ color: rgb(46, 78, 25);
/* oklch */ color: oklch(38.6% 0.089 135.0);
Tailwind
colors: {
  custom: {
    50: '#698058',
    500: '#2e4e19',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e19;
$custom-light: #698058;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e19",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 25
  },
  "hsl": {
    "h": 96.226,
    "s": 51.456,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38602,
    "c": 0.08854,
    "h": 135
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#2E4E19
secondary
#693E84
accent
#4DDBA3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2E4E19

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

Preview Lab → · Contrast checker → · Palette generator →

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