#5C8530#5C8530

#5C8530 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.8% C 0.123 H 131.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5C8530
RGBrgb(92, 133, 48)
HSLhsl(89, 47%, 35%)
HSVhsv(89, 64%, 52%)
CMYKcmyk(30.8%, 0%, 63.9%, 47.8%)
CIE-LABlab(50.99, -28.96, 40.21)
CIE-LCHlch(50.99, 49.55, 125.77°)
OKLaboklab(56.77% -0.0813 0.0929)
OKLCHoklch(56.77% 0.123 131.2)
XYZxyz(13.3345, 19.2634, 5.8114)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8530 #593085
analogous
#858330 #5C8530 #328530
triadic
#5C8530 #305C85 #85305C
tetradic
#5C8530 #308583 #593085 #853032
square
#5C8530 #308583 #593085 #853032
split-complementary
#5C8530 #303285 #833085
monochromatic
#1E2B10 #3D5820 #5C8530 #7BB240 #99C867

Accessibility & contrast

On white

4.33
#5C8530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5C8530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8530
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8530#FFFFFF#000000##000000
##5C85301.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B26
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#5E8073
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c8530;
/* rgb */ color: rgb(92, 133, 48);
/* oklch */ color: oklch(56.8% 0.123 131.2);
Tailwind
colors: {
  custom: {
    50: '#8da86c',
    500: '#5c8530',
    950: '#000000',
  },
}
SCSS
$custom: #5c8530;
$custom-light: #8da86c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8530",
  "rgb": {
    "r": 92,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 88.941,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56768,
    "c": 0.12347,
    "h": 131.2
  },
  "luminance": 0.19264
}

Semantic roles & 50–950 ramp

primary
#5C8530
secondary
#8761AF
accent
#51D792
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5C8530

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

Preview Lab → · Contrast checker → · Palette generator →

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