#5C8C1E#5C8C1E

#5C8C1E is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.4% C 0.146 H 130.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5C8C1E
RGBrgb(92, 140, 30)
HSLhsl(86, 65%, 33%)
HSVhsv(86, 79%, 55%)
CMYKcmyk(34.3%, 0%, 78.6%, 45.1%)
CIE-LABlab(53.09, -33.56, 49.63)
CIE-LCHlch(53.09, 59.91, 124.07°)
OKLaboklab(58.43% -0.0953 0.1101)
OKLCHoklch(58.43% 0.146 130.9)
XYZxyz(14.0260, 21.1247, 4.5665)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8C1E #4E1E8C
analogous
#8C851E #5C8C1E #258C1E
triadic
#5C8C1E #1E5C8C #8C1E5C
tetradic
#5C8C1E #1E8C85 #4E1E8C #8C1E25
square
#5C8C1E #1E8C85 #4E1E8C #8C1E25
split-complementary
#5C8C1E #1E258C #851E8C
monochromatic
#1A2708 #3B5A13 #5C8C1E #7DBE29 #9BD94C

Accessibility & contrast

On white

4.02
#5C8C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5C8C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8C1E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8C1E#FFFFFF#000000##000000
##5C8C1E1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938102
Deuteranopia (green-blind)
#8C7E29
Tritanopia (blue-blind)
#5E8677
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5c8c1e;
/* rgb */ color: rgb(92, 140, 30);
/* oklch */ color: oklch(58.4% 0.146 130.9);
Tailwind
colors: {
  custom: {
    50: '#8fae63',
    500: '#5c8c1e',
    950: '#000000',
  },
}
SCSS
$custom: #5c8c1e;
$custom-light: #8fae63;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8c1e",
  "rgb": {
    "r": 92,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 86.182,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58428,
    "c": 0.14563,
    "h": 130.9
  },
  "luminance": 0.21125
}

Semantic roles & 50–950 ramp

primary
#5C8C1E
secondary
#7C4BBB
accent
#40E889
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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