#2E4C19#2E4C19

#2E4C19 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.085 H 134.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2E4C19
RGBrgb(46, 76, 25)
HSLhsl(95, 50%, 20%)
HSVhsv(95, 67%, 30%)
CMYKcmyk(39.5%, 0%, 67.1%, 70.2%)
CIE-LABlab(28.95, -21.51, 26.20)
CIE-LCHlch(28.95, 33.90, 129.38°)
OKLaboklab(38.02% -0.0598 0.061)
OKLCHoklch(38.02% 0.085 134.4)
XYZxyz(3.8865, 5.8197, 1.8381)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4C19 #37194C
analogous
#484C19 #2E4C19 #194C1E
triadic
#2E4C19 #192E4C #4C192E
tetradic
#2E4C19 #19484C #37194C #4C1E19
square
#2E4C19 #19484C #37194C #4C1E19
split-complementary
#2E4C19 #1E194C #4C1948
monochromatic
#0E1708 #121E0A #2E4C19 #4A7A28 #66A837

Accessibility & contrast

On white

9.70
#2E4C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2E4C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4C19
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4C19#FFFFFF#000000##FFFFFF
##2E4C191.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4613
Deuteranopia (green-blind)
#4B431D
Tritanopia (blue-blind)
#2E4941
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e4c19;
/* rgb */ color: rgb(46, 76, 25);
/* oklch */ color: oklch(38.0% 0.085 134.4);
Tailwind
colors: {
  custom: {
    50: '#697e58',
    500: '#2e4c19',
    950: '#000000',
  },
}
SCSS
$custom: #2e4c19;
$custom-light: #697e58;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4c19",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 25
  },
  "hsl": {
    "h": 95.294,
    "s": 50.495,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38023,
    "c": 0.08538,
    "h": 134.4
  },
  "luminance": 0.0582
}

Semantic roles & 50–950 ramp

primary
#2E4C19
secondary
#663E82
accent
#4EDAA0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2E4C19

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

Preview Lab → · Contrast checker → · Palette generator →

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