#5C8127#5C8127

#5C8127 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.6% C 0.125 H 129.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5C8127
RGBrgb(92, 129, 39)
HSLhsl(85, 54%, 33%)
HSVhsv(85, 70%, 51%)
CMYKcmyk(28.7%, 0%, 69.8%, 49.4%)
CIE-LABlab(49.64, -27.80, 42.77)
CIE-LCHlch(49.64, 51.01, 123.02°)
OKLaboklab(55.65% -0.0789 0.0971)
OKLCHoklch(55.65% 0.125 129.1)
XYZxyz(12.6301, 18.1220, 4.7515)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8127 #4C2781
analogous
#817927 #5C8127 #2F8127
triadic
#5C8127 #275C81 #81275C
tetradic
#5C8127 #278179 #4C2781 #81272F
square
#5C8127 #278179 #4C2781 #81272F
split-complementary
#5C8127 #272F81 #792781
monochromatic
#19230B #3A5219 #5C8127 #7EB035 #9CCC56

Accessibility & contrast

On white

4.54
#5C8127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5C8127 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8127
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8127#FFFFFF#000000##000000
##5C81271.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781A
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#5F7B6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c8127;
/* rgb */ color: rgb(92, 129, 39);
/* oklch */ color: oklch(55.6% 0.125 129.1);
Tailwind
colors: {
  custom: {
    50: '#8da566',
    500: '#5c8127',
    950: '#000000',
  },
}
SCSS
$custom: #5c8127;
$custom-light: #8da566;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8127",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 84.667,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55646,
    "c": 0.12514,
    "h": 129.1
  },
  "luminance": 0.18122
}

Semantic roles & 50–950 ramp

primary
#5C8127
secondary
#7A53B1
accent
#4BDD87
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5C8127

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

Preview Lab → · Contrast checker → · Palette generator →

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