#5C8F27#5C8F27

#5C8F27 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.3% C 0.144 H 132.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5C8F27
RGBrgb(92, 143, 39)
HSLhsl(89, 57%, 36%)
HSVhsv(89, 73%, 56%)
CMYKcmyk(35.7%, 0%, 72.7%, 43.9%)
CIE-LABlab(54.10, -34.35, 47.34)
CIE-LCHlch(54.10, 58.49, 125.97°)
OKLaboklab(59.27% -0.0968 0.1067)
OKLCHoklch(59.27% 0.144 132.2)
XYZxyz(14.6021, 22.0661, 5.4089)
Luminance0.2207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F27 #5A278F
analogous
#8F8E27 #5C8F27 #288F27
triadic
#5C8F27 #275C8F #8F275C
tetradic
#5C8F27 #278F8E #5A278F #8F2728
square
#5C8F27 #278F8E #5A278F #8F2728
split-complementary
#5C8F27 #27288F #8E278F
monochromatic
#1E2F0D #3D5F1A #5C8F27 #7BBF34 #99D35D

Accessibility & contrast

On white

3.88
#5C8F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5C8F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8F27
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8F27#FFFFFF#000000##000000
##5C8F271.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958415
Deuteranopia (green-blind)
#8E8031
Tritanopia (blue-blind)
#5D897B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8f27;
/* rgb */ color: rgb(92, 143, 39);
/* oklch */ color: oklch(59.3% 0.144 132.2);
Tailwind
colors: {
  custom: {
    50: '#8eb068',
    500: '#5c8f27',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f27;
$custom-light: #8eb068;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f27",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 89.423,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59271,
    "c": 0.14406,
    "h": 132.2
  },
  "luminance": 0.22067
}

Semantic roles & 50–950 ramp

primary
#5C8F27
secondary
#885AB8
accent
#47E092
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8F27

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

Preview Lab → · Contrast checker → · Palette generator →

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