#5C8A30#5C8A30

#5C8A30 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.1% C 0.131 H 132.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5C8A30
RGBrgb(92, 138, 48)
HSLhsl(91, 48%, 36%)
HSVhsv(91, 65%, 54%)
CMYKcmyk(33.3%, 0%, 65.2%, 45.9%)
CIE-LABlab(52.58, -31.33, 41.95)
CIE-LCHlch(52.58, 52.35, 126.75°)
OKLaboklab(58.06% -0.0878 0.0966)
OKLCHoklch(58.06% 0.131 132.3)
XYZxyz(14.0354, 20.6652, 6.0450)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A30 #5E308A
analogous
#898A30 #5C8A30 #308A31
triadic
#5C8A30 #305C8A #8A305C
tetradic
#5C8A30 #30898A #5E308A #8A3130
square
#5C8A30 #30898A #5E308A #8A3130
split-complementary
#5C8A30 #31308A #8A3089
monochromatic
#1F2F10 #3E5D20 #5C8A30 #7AB740 #99CB69

Accessibility & contrast

On white

4.09
#5C8A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5C8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A30
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A30#FFFFFF#000000##000000
##5C8A301.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908025
Deuteranopia (green-blind)
#897C37
Tritanopia (blue-blind)
#5D8477
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c8a30;
/* rgb */ color: rgb(92, 138, 48);
/* oklch */ color: oklch(58.1% 0.131 132.3);
Tailwind
colors: {
  custom: {
    50: '#8dac6d',
    500: '#5c8a30',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a30;
$custom-light: #8dac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a30",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 90.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58059,
    "c": 0.13055,
    "h": 132.3
  },
  "luminance": 0.20666
}

Semantic roles & 50–950 ramp

primary
#5C8A30
secondary
#8C64B2
accent
#50D895
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5C8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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