#5C8E27#5C8E27

#5C8E27 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.0% C 0.143 H 132.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5C8E27
RGBrgb(92, 142, 39)
HSLhsl(89, 57%, 35%)
HSVhsv(89, 73%, 56%)
CMYKcmyk(35.2%, 0%, 72.5%, 44.3%)
CIE-LABlab(53.78, -33.90, 47.01)
CIE-LCHlch(53.78, 57.96, 125.79°)
OKLaboklab(59.01% -0.0955 0.106)
OKLCHoklch(59.01% 0.143 132)
XYZxyz(14.4527, 21.7672, 5.3591)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8E27 #59278E
analogous
#8E8C27 #5C8E27 #298E27
triadic
#5C8E27 #275C8E #8E275C
tetradic
#5C8E27 #278E8C #59278E #8E2729
square
#5C8E27 #278E8C #59278E #8E2729
split-complementary
#5C8E27 #27298E #8C278E
monochromatic
#1E2E0D #3D5E1A #5C8E27 #7BBE34 #99D25D

Accessibility & contrast

On white

3.92
#5C8E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5C8E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8E27
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8E27#FFFFFF#000000##000000
##5C8E271.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948316
Deuteranopia (green-blind)
#8D7F30
Tritanopia (blue-blind)
#5D887A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8e27;
/* rgb */ color: rgb(92, 142, 39);
/* oklch */ color: oklch(59.0% 0.143 132.0);
Tailwind
colors: {
  custom: {
    50: '#8eaf68',
    500: '#5c8e27',
    950: '#000000',
  },
}
SCSS
$custom: #5c8e27;
$custom-light: #8eaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8e27",
  "rgb": {
    "r": 92,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 89.126,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59012,
    "c": 0.14273,
    "h": 132
  },
  "luminance": 0.21768
}

Semantic roles & 50–950 ramp

primary
#5C8E27
secondary
#8759B8
accent
#48E092
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8E27

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

Preview Lab → · Contrast checker → · Palette generator →

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