#2E4B19#2E4B19

#2E4B19 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.084 H 134.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2E4B19
RGBrgb(46, 75, 25)
HSLhsl(95, 50%, 20%)
HSVhsv(95, 67%, 29%)
CMYKcmyk(38.7%, 0%, 66.7%, 70.6%)
CIE-LABlab(28.60, -20.99, 25.80)
CIE-LCHlch(28.60, 33.26, 129.13°)
OKLaboklab(37.73% -0.0584 0.0601)
OKLCHoklch(37.73% 0.084 134.2)
XYZxyz(3.8182, 5.6830, 1.8153)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B19 #36194B
analogous
#474B19 #2E4B19 #194B1D
triadic
#2E4B19 #192E4B #4B192E
tetradic
#2E4B19 #19474B #36194B #4B1D19
square
#2E4B19 #19474B #36194B #4B1D19
split-complementary
#2E4B19 #1D194B #4B1947
monochromatic
#0E1708 #121D0A #2E4B19 #4A7928 #66A738

Accessibility & contrast

On white

9.83
#2E4B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2E4B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B19
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B19#FFFFFF#000000##FFFFFF
##2E4B191.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4513
Deuteranopia (green-blind)
#4A431D
Tritanopia (blue-blind)
#2E4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e4b19;
/* rgb */ color: rgb(46, 75, 25);
/* oklch */ color: oklch(37.7% 0.084 134.2);
Tailwind
colors: {
  custom: {
    50: '#697d58',
    500: '#2e4b19',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b19;
$custom-light: #697d58;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b19",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 25
  },
  "hsl": {
    "h": 94.8,
    "s": 50,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37734,
    "c": 0.08379,
    "h": 134.2
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#2E4B19
secondary
#653E81
accent
#4EDA9F
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4B19

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

Preview Lab → · Contrast checker → · Palette generator →

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