#5C9E1F#5C9E1F

#5C9E1F is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.1% C 0.168 H 133.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5C9E1F
RGBrgb(92, 158, 31)
HSLhsl(91, 67%, 37%)
HSVhsv(91, 80%, 62%)
CMYKcmyk(41.8%, 0%, 80.4%, 38%)
CIE-LABlab(58.81, -41.38, 54.68)
CIE-LCHlch(58.81, 68.58, 127.12°)
OKLaboklab(63.11% -0.1164 0.1209)
OKLCHoklch(63.11% 0.168 133.9)
XYZxyz(16.8875, 26.8271, 5.5844)
Luminance0.2683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9E1F #611F9E
analogous
#9C9E1F #5C9E1F #1F9E21
triadic
#5C9E1F #1F5C9E #9E1F5C
tetradic
#5C9E1F #1F9C9E #611F9E #9E211F
square
#5C9E1F #1F9C9E #611F9E #9E211F
split-complementary
#5C9E1F #211F9E #9E1F9C
monochromatic
#20380B #3E6B15 #5C9E1F #7AD129 #99DE59

Accessibility & contrast

On white

3.30
#5C9E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#5C9E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9E1F
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9E1F#FFFFFF#000000##000000
##5C9E1F1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#5B9887
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5c9e1f;
/* rgb */ color: rgb(92, 158, 31);
/* oklch */ color: oklch(63.1% 0.168 133.9);
Tailwind
colors: {
  custom: {
    50: '#90bb66',
    500: '#5c9e1f',
    950: '#000000',
  },
}
SCSS
$custom: #5c9e1f;
$custom-light: #90bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9e1f",
  "rgb": {
    "r": 92,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 91.181,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63113,
    "c": 0.16778,
    "h": 133.9
  },
  "luminance": 0.26828
}

Semantic roles & 50–950 ramp

primary
#5C9E1F
secondary
#8F56C2
accent
#3EEA97
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5C9E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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