#2E4D19#2E4D19

#2E4D19 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.3% C 0.087 H 134.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2E4D19
RGBrgb(46, 77, 25)
HSLhsl(96, 51%, 20%)
HSVhsv(96, 68%, 30%)
CMYKcmyk(40.3%, 0%, 67.5%, 69.8%)
CIE-LABlab(29.31, -22.01, 26.60)
CIE-LCHlch(29.31, 34.53, 129.61°)
OKLaboklab(38.31% -0.0612 0.0618)
OKLCHoklch(38.31% 0.087 134.7)
XYZxyz(3.9560, 5.9586, 1.8612)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D19 #38194D
analogous
#484D19 #2E4D19 #194D1E
triadic
#2E4D19 #192E4D #4D192E
tetradic
#2E4D19 #19484D #38194D #4D1E19
square
#2E4D19 #19484D #38194D #4D1E19
split-complementary
#2E4D19 #1E194D #4D1948
monochromatic
#0E1708 #121F0A #2E4D19 #4A7B28 #65A937

Accessibility & contrast

On white

9.58
#2E4D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2E4D19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D19
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D19#FFFFFF#000000##FFFFFF
##2E4D191.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504713
Deuteranopia (green-blind)
#4C441D
Tritanopia (blue-blind)
#2E4A42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e4d19;
/* rgb */ color: rgb(46, 77, 25);
/* oklch */ color: oklch(38.3% 0.087 134.7);
Tailwind
colors: {
  custom: {
    50: '#697f58',
    500: '#2e4d19',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d19;
$custom-light: #697f58;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d19",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 25
  },
  "hsl": {
    "h": 95.769,
    "s": 50.98,
    "l": 20
  },
  "oklch": {
    "l": 0.38312,
    "c": 0.08697,
    "h": 134.7
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#2E4D19
secondary
#683E83
accent
#4DDAA1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2E4D19

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

Preview Lab → · Contrast checker → · Palette generator →

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