#5C8A25#5C8A25

#5C8A25 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#5C8A25
RGBrgb(92, 138, 37)
HSLhsl(87, 58%, 34%)
HSVhsv(87, 73%, 54%)
CMYKcmyk(33.3%, 0%, 73.2%, 45.9%)
CIE-LABlab(52.49, -32.20, 46.50)
CIE-LCHlch(52.49, 56.56, 124.71°)
OKLaboklab(57.96% -0.0911 0.1047)
OKLCHoklch(57.96% 0.139 131)
XYZxyz(13.8359, 20.5854, 4.9943)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A25 #53258A
analogous
#8A8625 #5C8A25 #2A8A25
triadic
#5C8A25 #255C8A #8A255C
tetradic
#5C8A25 #258A86 #53258A #8A252A
square
#5C8A25 #258A86 #53258A #8A252A
split-complementary
#5C8A25 #252A8A #86258A
monochromatic
#1C290B #3C5A18 #5C8A25 #7CBA32 #9AD257

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8A25#FFFFFF#000000##000000
##5C8A251.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)
#907F14
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#5E8476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c8a25;
/* rgb */ color: rgb(92, 138, 37);
/* oklch */ color: oklch(58.0% 0.139 131.0);
Tailwind
colors: {
  custom: {
    50: '#8eac66',
    500: '#5c8a25',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a25;
$custom-light: #8eac66;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a25",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 87.327,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57959,
    "c": 0.13875,
    "h": 131
  },
  "luminance": 0.20586
}

Semantic roles & 50–950 ramp

primary
#5C8A25
secondary
#8154B7
accent
#47E18D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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