#5C8A24#5C8A24

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

Color values

HEX#5C8A24
RGBrgb(92, 138, 36)
HSLhsl(87, 59%, 34%)
HSVhsv(87, 74%, 54%)
CMYKcmyk(33.3%, 0%, 73.9%, 45.9%)
CIE-LABlab(52.49, -32.27, 46.88)
CIE-LCHlch(52.49, 56.91, 124.55°)
OKLaboklab(57.95% -0.0914 0.1053)
OKLCHoklch(57.95% 0.139 131)
XYZxyz(13.8204, 20.5792, 4.9127)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A24 #52248A
analogous
#8A8524 #5C8A24 #298A24
triadic
#5C8A24 #245C8A #8A245C
tetradic
#5C8A24 #248A85 #52248A #8A2429
square
#5C8A24 #248A85 #52248A #8A2429
split-complementary
#5C8A24 #24298A #85248A
monochromatic
#1B290B #3C5917 #5C8A24 #7CBB31 #9AD356

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8A24#FFFFFF#000000##000000
##5C8A241.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)
#907F12
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#5E8476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c8a24;
/* rgb */ color: rgb(92, 138, 36);
/* oklch */ color: oklch(58.0% 0.139 131.0);
Tailwind
colors: {
  custom: {
    50: '#8eac66',
    500: '#5c8a24',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a24;
$custom-light: #8eac66;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a24",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 87.059,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57951,
    "c": 0.13941,
    "h": 131
  },
  "luminance": 0.2058
}

Semantic roles & 50–950 ramp

primary
#5C8A24
secondary
#8053B7
accent
#46E28C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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