#5C8B1A#5C8B1A

#5C8B1A is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.1% C 0.146 H 130.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5C8B1A
RGBrgb(92, 139, 26)
HSLhsl(85, 68%, 32%)
HSVhsv(85, 81%, 55%)
CMYKcmyk(33.8%, 0%, 81.3%, 45.5%)
CIE-LABlab(52.75, -33.32, 50.60)
CIE-LCHlch(52.75, 60.58, 123.36°)
OKLaboklab(58.14% -0.095 0.1115)
OKLCHoklch(58.14% 0.146 130.4)
XYZxyz(13.8326, 20.8147, 4.2659)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8B1A #491A8B
analogous
#8B821A #5C8B1A #238B1A
triadic
#5C8B1A #1A5C8B #8B1A5C
tetradic
#5C8B1A #1A8B82 #491A8B #8B1A23
square
#5C8B1A #1A8B82 #491A8B #8B1A23
split-complementary
#5C8B1A #1A238B #821A8B
monochromatic
#182407 #3A5710 #5C8B1A #7EBF24 #9DDC43

Accessibility & contrast

On white

4.07
#5C8B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5C8B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8B1A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8B1A#FFFFFF#000000##000000
##5C8B1A1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#5E8576
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8b1a;
/* rgb */ color: rgb(92, 139, 26);
/* oklch */ color: oklch(58.1% 0.146 130.4);
Tailwind
colors: {
  custom: {
    50: '#8fad61',
    500: '#5c8b1a',
    950: '#000000',
  },
}
SCSS
$custom: #5c8b1a;
$custom-light: #8fad61;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8b1a",
  "rgb": {
    "r": 92,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 84.956,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58144,
    "c": 0.14644,
    "h": 130.4
  },
  "luminance": 0.20815
}

Semantic roles & 50–950 ramp

primary
#5C8B1A
secondary
#7644BD
accent
#3CEB85
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C8B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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