#5C8A1E#5C8A1E

#5C8A1E is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.9% C 0.143 H 130.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5C8A1E
RGBrgb(92, 138, 30)
HSLhsl(86, 64%, 33%)
HSVhsv(86, 78%, 54%)
CMYKcmyk(33.3%, 0%, 78.3%, 45.9%)
CIE-LABlab(52.45, -32.65, 49.02)
CIE-LCHlch(52.45, 58.90, 123.66°)
OKLaboklab(57.91% -0.0929 0.1088)
OKLCHoklch(57.91% 0.143 130.5)
XYZxyz(13.7364, 20.5455, 4.4700)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A1E #4C1E8A
analogous
#8A821E #5C8A1E #268A1E
triadic
#5C8A1E #1E5C8A #8A1E5C
tetradic
#5C8A1E #1E8A82 #4C1E8A #8A1E26
square
#5C8A1E #1E8A82 #4C1E8A #8A1E26
split-complementary
#5C8A1E #1E268A #821E8A
monochromatic
#192508 #3A5813 #5C8A1E #7EBC29 #9CD84B

Accessibility & contrast

On white

4.11
#5C8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5C8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A1E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A1E#FFFFFF#000000##000000
##5C8A1E1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F03
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#5E8476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c8a1e;
/* rgb */ color: rgb(92, 138, 30);
/* oklch */ color: oklch(57.9% 0.143 130.5);
Tailwind
colors: {
  custom: {
    50: '#8eac63',
    500: '#5c8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a1e;
$custom-light: #8eac63;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a1e",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 85.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57908,
    "c": 0.14306,
    "h": 130.5
  },
  "luminance": 0.20546
}

Semantic roles & 50–950 ramp

primary
#5C8A1E
secondary
#7A4ABA
accent
#41E788
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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