#5C9D2F#5C9D2F

#5C9D2F is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.0% C 0.157 H 135.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5C9D2F
RGBrgb(92, 157, 47)
HSLhsl(95, 54%, 40%)
HSVhsv(95, 70%, 62%)
CMYKcmyk(41.4%, 0%, 70.1%, 38.4%)
CIE-LABlab(58.60, -39.91, 48.77)
CIE-LCHlch(58.60, 63.02, 129.30°)
OKLaboklab(62.97% -0.1113 0.1109)
OKLCHoklch(62.97% 0.157 135.1)
XYZxyz(16.9833, 26.5936, 6.9270)
Luminance0.2659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9D2F #702F9D
analogous
#939D2F #5C9D2F #2F9D39
triadic
#5C9D2F #2F5C9D #9D2F5C
tetradic
#5C9D2F #2F939D #702F9D #9D392F
square
#5C9D2F #2F939D #702F9D #9D392F
split-complementary
#5C9D2F #392F9D #9D2F93
monochromatic
#253F13 #406E21 #5C9D2F #79C743 #9AD572

Accessibility & contrast

On white

3.32
#5C9D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#5C9D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9D2F
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9D2F#FFFFFF#000000##000000
##5C9D2F1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901E
Deuteranopia (green-blind)
#9A8B39
Tritanopia (blue-blind)
#5A9787
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5c9d2f;
/* rgb */ color: rgb(92, 157, 47);
/* oklch */ color: oklch(63.0% 0.157 135.1);
Tailwind
colors: {
  custom: {
    50: '#8fba6e',
    500: '#5c9d2f',
    950: '#000000',
  },
}
SCSS
$custom: #5c9d2f;
$custom-light: #8fba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9d2f",
  "rgb": {
    "r": 92,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 95.455,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.62966,
    "c": 0.15708,
    "h": 135.1
  },
  "luminance": 0.26594
}

Semantic roles & 50–950 ramp

primary
#5C9D2F
secondary
#9B6BBC
accent
#4BDDA1
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5C9D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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