#5C8F1E#5C8F1E

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

Color values

HEX#5C8F1E
RGBrgb(92, 143, 30)
HSLhsl(87, 65%, 34%)
HSVhsv(87, 79%, 56%)
CMYKcmyk(35.7%, 0%, 79%, 43.9%)
CIE-LABlab(54.04, -34.92, 50.53)
CIE-LCHlch(54.04, 61.42, 124.65°)
OKLaboklab(59.21% -0.099 0.112)
OKLCHoklch(59.21% 0.149 131.5)
XYZxyz(14.4703, 22.0134, 4.7146)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F1E #511E8F
analogous
#8F8A1E #5C8F1E #238F1E
triadic
#5C8F1E #1E5C8F #8F1E5C
tetradic
#5C8F1E #1E8F8A #511E8F #8F1E23
square
#5C8F1E #1E8F8A #511E8F #8F1E23
split-complementary
#5C8F1E #1E238F #8A1E8F
monochromatic
#1B2A09 #3B5C13 #5C8F1E #7DC229 #9BDA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8F1E#FFFFFF#000000##000000
##5C8F1E1.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)
#958400
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#5E897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8f1e;
/* rgb */ color: rgb(92, 143, 30);
/* oklch */ color: oklch(59.2% 0.149 131.5);
Tailwind
colors: {
  custom: {
    50: '#8fb064',
    500: '#5c8f1e',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f1e;
$custom-light: #8fb064;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f1e",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 87.08,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.14948,
    "h": 131.5
  },
  "luminance": 0.22014
}

Semantic roles & 50–950 ramp

primary
#5C8F1E
secondary
#7F4CBC
accent
#40E88C
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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