#5C8B1E#5C8B1E

#5C8B1E is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.2% C 0.144 H 130.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5C8B1E
RGBrgb(92, 139, 30)
HSLhsl(86, 64%, 33%)
HSVhsv(86, 78%, 55%)
CMYKcmyk(33.8%, 0%, 78.4%, 45.5%)
CIE-LABlab(52.77, -33.11, 49.32)
CIE-LCHlch(52.77, 59.40, 123.87°)
OKLaboklab(58.17% -0.0941 0.1095)
OKLCHoklch(58.17% 0.144 130.7)
XYZxyz(13.8805, 20.8338, 4.5180)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8B1E #4D1E8B
analogous
#8B831E #5C8B1E #258B1E
triadic
#5C8B1E #1E5C8B #8B1E5C
tetradic
#5C8B1E #1E8B83 #4D1E8B #8B1E25
square
#5C8B1E #1E8B83 #4D1E8B #8B1E25
split-complementary
#5C8B1E #1E258B #831E8B
monochromatic
#192608 #3B5913 #5C8B1E #7DBD29 #9BD84B

Accessibility & contrast

On white

4.06
#5C8B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5C8B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8B1E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8B1E#FFFFFF#000000##000000
##5C8B1E1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928003
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#5E8577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8b1e;
/* rgb */ color: rgb(92, 139, 30);
/* oklch */ color: oklch(58.2% 0.144 130.7);
Tailwind
colors: {
  custom: {
    50: '#8ead63',
    500: '#5c8b1e',
    950: '#000000',
  },
}
SCSS
$custom: #5c8b1e;
$custom-light: #8ead63;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8b1e",
  "rgb": {
    "r": 92,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 85.872,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58168,
    "c": 0.14434,
    "h": 130.7
  },
  "luminance": 0.20834
}

Semantic roles & 50–950 ramp

primary
#5C8B1E
secondary
#7B4ABB
accent
#40E788
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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