#5C8A28#5C8A28

#5C8A28 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.0% C 0.137 H 131.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5C8A28
RGBrgb(92, 138, 40)
HSLhsl(88, 55%, 35%)
HSVhsv(88, 71%, 54%)
CMYKcmyk(33.3%, 0%, 71%, 45.9%)
CIE-LABlab(52.51, -31.99, 45.32)
CIE-LCHlch(52.51, 55.47, 125.21°)
OKLaboklab(57.98% -0.0903 0.1026)
OKLCHoklch(57.98% 0.137 131.3)
XYZxyz(13.8850, 20.6050, 5.2527)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A28 #56288A
analogous
#8A8728 #5C8A28 #2B8A28
triadic
#5C8A28 #285C8A #8A285C
tetradic
#5C8A28 #288A87 #56288A #8A282B
square
#5C8A28 #288A87 #56288A #8A282B
split-complementary
#5C8A28 #282B8A #87288A
monochromatic
#1D2B0C #3C5B1A #5C8A28 #7CB936 #9AD05D

Accessibility & contrast

On white

4.10
#5C8A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5C8A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A28
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A28#FFFFFF#000000##000000
##5C8A281.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908019
Deuteranopia (green-blind)
#8A7C31
Tritanopia (blue-blind)
#5E8476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c8a28;
/* rgb */ color: rgb(92, 138, 40);
/* oklch */ color: oklch(58.0% 0.137 131.3);
Tailwind
colors: {
  custom: {
    50: '#8eac68',
    500: '#5c8a28',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a28;
$custom-light: #8eac68;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a28",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 88.163,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57983,
    "c": 0.13669,
    "h": 131.3
  },
  "luminance": 0.20605
}

Semantic roles & 50–950 ramp

primary
#5C8A28
secondary
#8459B5
accent
#49DE8F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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