#5C8F28#5C8F28

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

Color values

HEX#5C8F28
RGBrgb(92, 143, 40)
HSLhsl(90, 56%, 36%)
HSVhsv(90, 72%, 56%)
CMYKcmyk(35.7%, 0%, 72%, 43.9%)
CIE-LABlab(54.10, -34.28, 46.95)
CIE-LCHlch(54.10, 58.13, 126.13°)
OKLaboklab(59.28% -0.0965 0.1061)
OKLCHoklch(59.28% 0.143 132.3)
XYZxyz(14.6189, 22.0728, 5.4973)
Luminance0.2207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F28 #5B288F
analogous
#8F8E28 #5C8F28 #288F28
triadic
#5C8F28 #285C8F #8F285C
tetradic
#5C8F28 #288F8E #5B288F #8F2828
square
#5C8F28 #288F8E #5B288F #8F2828
split-complementary
#5C8F28 #28288F #8E288F
monochromatic
#1E2F0D #3D5F1B #5C8F28 #7BBF35 #99D25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8F28#FFFFFF#000000##000000
##5C8F281.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)
#958417
Deuteranopia (green-blind)
#8E8031
Tritanopia (blue-blind)
#5D897B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8f28;
/* rgb */ color: rgb(92, 143, 40);
/* oklch */ color: oklch(59.3% 0.143 132.3);
Tailwind
colors: {
  custom: {
    50: '#8eb069',
    500: '#5c8f28',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f28;
$custom-light: #8eb069;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f28",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 89.709,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59279,
    "c": 0.14339,
    "h": 132.3
  },
  "luminance": 0.22073
}

Semantic roles & 50–950 ramp

primary
#5C8F28
secondary
#895BB8
accent
#48E093
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5C8F28

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

Preview Lab → · Contrast checker → · Palette generator →

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