#5E8F19#5E8F19

#5E8F19 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.3% C 0.151 H 130.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5E8F19
RGBrgb(94, 143, 25)
HSLhsl(85, 70%, 33%)
HSVhsv(85, 83%, 56%)
CMYKcmyk(34.3%, 0%, 82.5%, 43.9%)
CIE-LABlab(54.13, -34.41, 52.20)
CIE-LCHlch(54.13, 62.52, 123.39°)
OKLaboklab(59.3% -0.0981 0.1147)
OKLCHoklch(59.3% 0.151 130.5)
XYZxyz(14.6139, 22.0943, 4.4142)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8F19 #4A198F
analogous
#8F8519 #5E8F19 #238F19
triadic
#5E8F19 #195E8F #8F195E
tetradic
#5E8F19 #198F85 #4A198F #8F1923
square
#5E8F19 #198F85 #4A198F #8F1923
split-complementary
#5E8F19 #19238F #85198F
monochromatic
#1A2707 #3C5B10 #5E8F19 #80C322 #9EDE44

Accessibility & contrast

On white

3.88
#5E8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5E8F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8F19
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8F19#FFFFFF#000000##000000
##5E8F191.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#60897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e8f19;
/* rgb */ color: rgb(94, 143, 25);
/* oklch */ color: oklch(59.3% 0.151 130.5);
Tailwind
colors: {
  custom: {
    50: '#90b062',
    500: '#5e8f19',
    950: '#000000',
  },
}
SCSS
$custom: #5e8f19;
$custom-light: #90b062;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8f19",
  "rgb": {
    "r": 94,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 84.915,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59299,
    "c": 0.15088,
    "h": 130.5
  },
  "luminance": 0.22095
}

Semantic roles & 50–950 ramp

primary
#5E8F19
secondary
#7744BF
accent
#3BED85
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8F19

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

Preview Lab → · Contrast checker → · Palette generator →

#5E8F19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva