#5C7F17#5C7F17

#5C7F17 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 55.0% C 0.133 H 127.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5C7F17
RGBrgb(92, 127, 23)
HSLhsl(80, 69%, 29%)
HSVhsv(80, 82%, 50%)
CMYKcmyk(27.6%, 0%, 81.9%, 50.2%)
CIE-LABlab(48.90, -27.83, 48.00)
CIE-LCHlch(48.90, 55.49, 120.10°)
OKLaboklab(55.01% -0.0803 0.1055)
OKLCHoklch(55.01% 0.133 127.3)
XYZxyz(12.1577, 17.5157, 3.5508)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7F17 #3A177F
analogous
#7F6E17 #5C7F17 #287F17
triadic
#5C7F17 #175C7F #7F175C
tetradic
#5C7F17 #177F6E #3A177F #7F1728
square
#5C7F17 #177F6E #3A177F #7F1728
split-complementary
#5C7F17 #17287F #6E177F
monochromatic
#131A05 #364B0E #5C7F17 #82B320 #A3DB36

Accessibility & contrast

On white

4.66
#5C7F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#5C7F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7F17
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7F17#FFFFFF#000000##FFFFFF
##5C7F171.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#817422
Tritanopia (blue-blind)
#60796C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5c7f17;
/* rgb */ color: rgb(92, 127, 23);
/* oklch */ color: oklch(55.0% 0.133 127.3);
Tailwind
colors: {
  custom: {
    50: '#8ea45e',
    500: '#5c7f17',
    950: '#000000',
  },
}
SCSS
$custom: #5c7f17;
$custom-light: #8ea45e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7f17",
  "rgb": {
    "r": 92,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 80.192,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55011,
    "c": 0.1326,
    "h": 127.3
  },
  "luminance": 0.17516
}

Semantic roles & 50–950 ramp

primary
#5C7F17
secondary
#663EB4
accent
#3CEC77
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C7F17

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

Preview Lab → · Contrast checker → · Palette generator →

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