#5E981C#5E981C

#5E981C is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.6% C 0.161 H 132.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5E981C
RGBrgb(94, 152, 28)
HSLhsl(88, 69%, 35%)
HSVhsv(88, 82%, 60%)
CMYKcmyk(38.2%, 0%, 81.6%, 40.4%)
CIE-LABlab(57.00, -38.26, 53.94)
CIE-LCHlch(57.00, 66.13, 125.35°)
OKLaboklab(61.65% -0.1083 0.1188)
OKLCHoklch(61.65% 0.161 132.3)
XYZxyz(16.0537, 24.9193, 5.0624)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E981C #561C98
analogous
#98941C #5E981C #20981C
triadic
#5E981C #1C5E98 #981C5E
tetradic
#5E981C #1C9894 #561C98 #981C20
square
#5E981C #1C9894 #561C98 #981C20
split-complementary
#5E981C #1C2098 #941C98
monochromatic
#1E3109 #3E6412 #5E981C #7ECC26 #9CDF50

Accessibility & contrast

On white

3.51
#5E981C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5E981C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E981C
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E981C#FFFFFF#000000##000000
##5E981C1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#97872A
Tritanopia (blue-blind)
#5F9181
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5e981c;
/* rgb */ color: rgb(94, 152, 28);
/* oklch */ color: oklch(61.6% 0.161 132.3);
Tailwind
colors: {
  custom: {
    50: '#91b764',
    500: '#5e981c',
    950: '#000000',
  },
}
SCSS
$custom: #5e981c;
$custom-light: #91b764;
$custom-dark: #000000;
JSON
{
  "hex": "#5e981c",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 28
  },
  "hsl": {
    "h": 88.065,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61648,
    "c": 0.16072,
    "h": 132.3
  },
  "luminance": 0.2492
}

Semantic roles & 50–950 ramp

primary
#5E981C
secondary
#844EC1
accent
#3CEC8E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E981C

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

Preview Lab → · Contrast checker → · Palette generator →

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