#5C8F18#5C8F18

#5C8F18 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.2% C 0.152 H 131.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5C8F18
RGBrgb(92, 143, 24)
HSLhsl(86, 71%, 33%)
HSVhsv(86, 83%, 56%)
CMYKcmyk(35.7%, 0%, 83.2%, 43.9%)
CIE-LABlab(54.01, -35.22, 52.34)
CIE-LCHlch(54.01, 63.09, 123.93°)
OKLaboklab(59.17% -0.1002 0.1148)
OKLCHoklch(59.17% 0.152 131.1)
XYZxyz(14.4009, 21.9856, 4.3489)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F18 #4B188F
analogous
#8F8618 #5C8F18 #218F18
triadic
#5C8F18 #185C8F #8F185C
tetradic
#5C8F18 #188F86 #4B188F #8F1821
square
#5C8F18 #188F86 #4B188F #8F1821
split-complementary
#5C8F18 #18218F #86188F
monochromatic
#192606 #3A5B0F #5C8F18 #7EC321 #9CDF42

Accessibility & contrast

On white

3.89
#5C8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5C8F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8F18
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8F18#FFFFFF#000000##000000
##5C8F181.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#5E897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8f18;
/* rgb */ color: rgb(92, 143, 24);
/* oklch */ color: oklch(59.2% 0.152 131.1);
Tailwind
colors: {
  custom: {
    50: '#8fb061',
    500: '#5c8f18',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f18;
$custom-light: #8fb061;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f18",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 85.714,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.15242,
    "h": 131.1
  },
  "luminance": 0.21986
}

Semantic roles & 50–950 ramp

primary
#5C8F18
secondary
#7843C0
accent
#3AEE87
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C8F18

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

Preview Lab → · Contrast checker → · Palette generator →

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