#2E5F19#2E5F19

#2E5F19 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.114 H 137.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2E5F19
RGBrgb(46, 95, 25)
HSLhsl(102, 58%, 24%)
HSVhsv(102, 74%, 37%)
CMYKcmyk(51.6%, 0%, 73.7%, 62.7%)
CIE-LABlab(35.66, -30.55, 33.47)
CIE-LCHlch(35.66, 45.31, 132.39°)
OKLaboklab(43.52% -0.0844 0.0763)
OKLCHoklch(43.52% 0.114 137.9)
XYZxyz(5.3942, 8.8351, 2.3406)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F19 #4A195F
analogous
#515F19 #2E5F19 #195F27
triadic
#2E5F19 #192E5F #5F192E
tetradic
#2E5F19 #19515F #4A195F #5F2719
square
#2E5F19 #19515F #4A195F #5F2719
split-complementary
#2E5F19 #27195F #5F1951
monochromatic
#0C1806 #172F0C #2E5F19 #458F26 #5DC032

Accessibility & contrast

On white

7.59
#2E5F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2E5F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5F19
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5F19#FFFFFF#000000##FFFFFF
##2E5F191.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560F
Deuteranopia (green-blind)
#5C521F
Tritanopia (blue-blind)
#2B5B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e5f19;
/* rgb */ color: rgb(46, 95, 25);
/* oklch */ color: oklch(43.5% 0.114 137.9);
Tailwind
colors: {
  custom: {
    50: '#6c8d5a',
    500: '#2e5f19',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f19;
$custom-light: #6c8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f19",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 25
  },
  "hsl": {
    "h": 102,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43518,
    "c": 0.11377,
    "h": 137.9
  },
  "luminance": 0.08835
}

Semantic roles & 50–950 ramp

primary
#2E5F19
secondary
#7B3F95
accent
#46E2B3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E5F19

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

Preview Lab → · Contrast checker → · Palette generator →

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