#5E8819#5E8819

#5E8819 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.5% C 0.142 H 129.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5E8819
RGBrgb(94, 136, 25)
HSLhsl(83, 69%, 32%)
HSVhsv(83, 82%, 53%)
CMYKcmyk(30.9%, 0%, 81.6%, 46.7%)
CIE-LABlab(51.90, -31.19, 50.18)
CIE-LCHlch(51.90, 59.08, 121.87°)
OKLaboklab(57.49% -0.0894 0.1104)
OKLCHoklch(57.49% 0.142 129)
XYZxyz(13.5957, 20.0578, 4.0747)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8819 #431988
analogous
#887B19 #5E8819 #268819
triadic
#5E8819 #195E88 #88195E
tetradic
#5E8819 #19887B #431988 #881926
square
#5E8819 #19887B #431988 #881926
split-complementary
#5E8819 #192688 #7B1988
monochromatic
#172106 #3A540F #5E8819 #82BC23 #A1DC40

Accessibility & contrast

On white

4.19
#5E8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5E8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8819
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8819#FFFFFF#000000##000000
##5E88191.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#618274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e8819;
/* rgb */ color: rgb(94, 136, 25);
/* oklch */ color: oklch(57.5% 0.142 129.0);
Tailwind
colors: {
  custom: {
    50: '#90ab60',
    500: '#5e8819',
    950: '#000000',
  },
}
SCSS
$custom: #5e8819;
$custom-light: #90ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8819",
  "rgb": {
    "r": 94,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 82.703,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57486,
    "c": 0.14204,
    "h": 129
  },
  "luminance": 0.20058
}

Semantic roles & 50–950 ramp

primary
#5E8819
secondary
#7041BB
accent
#3CEC7F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5E8819

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

Preview Lab → · Contrast checker → · Palette generator →

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