#5C8E1F#5C8E1F

#5C8E1F is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.0% C 0.148 H 131.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5C8E1F
RGBrgb(92, 142, 31)
HSLhsl(87, 64%, 34%)
HSVhsv(87, 78%, 56%)
CMYKcmyk(35.2%, 0%, 78.2%, 44.3%)
CIE-LABlab(53.73, -34.41, 49.90)
CIE-LCHlch(53.73, 60.61, 124.59°)
OKLaboklab(58.95% -0.0976 0.1108)
OKLCHoklch(58.95% 0.148 131.4)
XYZxyz(14.3338, 21.7197, 4.7331)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8E1F #511F8E
analogous
#8E891F #5C8E1F #258E1F
triadic
#5C8E1F #1F5C8E #8E1F5C
tetradic
#5C8E1F #1F8E89 #511F8E #8E1F25
square
#5C8E1F #1F8E89 #511F8E #8E1F25
split-complementary
#5C8E1F #1F258E #891F8E
monochromatic
#1B2A09 #3B5C14 #5C8E1F #7DC02A #9BD94F

Accessibility & contrast

On white

3.93
#5C8E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5C8E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8E1F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8E1F#FFFFFF#000000##000000
##5C8E1F1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948303
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#5E8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8e1f;
/* rgb */ color: rgb(92, 142, 31);
/* oklch */ color: oklch(59.0% 0.148 131.4);
Tailwind
colors: {
  custom: {
    50: '#8faf64',
    500: '#5c8e1f',
    950: '#000000',
  },
}
SCSS
$custom: #5c8e1f;
$custom-light: #8faf64;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8e1f",
  "rgb": {
    "r": 92,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 87.027,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58954,
    "c": 0.14764,
    "h": 131.4
  },
  "luminance": 0.2172
}

Semantic roles & 50–950 ramp

primary
#5C8E1F
secondary
#7F4DBB
accent
#41E78C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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