#5C8B1C#5C8B1C

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

Color values

HEX#5C8B1C
RGBrgb(92, 139, 28)
HSLhsl(85, 66%, 33%)
HSVhsv(85, 80%, 55%)
CMYKcmyk(33.8%, 0%, 79.9%, 45.5%)
CIE-LABlab(52.76, -33.21, 49.98)
CIE-LCHlch(52.76, 60.01, 123.61°)
OKLaboklab(58.16% -0.0945 0.1105)
OKLCHoklch(58.16% 0.145 130.5)
XYZxyz(13.8558, 20.8239, 4.3878)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8B1C #4B1C8B
analogous
#8B821C #5C8B1C #258B1C
triadic
#5C8B1C #1C5C8B #8B1C5C
tetradic
#5C8B1C #1C8B82 #4B1C8B #8B1C25
square
#5C8B1C #1C8B82 #4B1C8B #8B1C25
split-complementary
#5C8B1C #1C258B #821C8B
monochromatic
#192507 #3A5812 #5C8B1C #7EBE26 #9CDA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8B1C#FFFFFF#000000##000000
##5C8B1C1.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)
#8B7D28
Tritanopia (blue-blind)
#5E8576
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8b1c;
/* rgb */ color: rgb(92, 139, 28);
/* oklch */ color: oklch(58.2% 0.145 130.5);
Tailwind
colors: {
  custom: {
    50: '#8fad62',
    500: '#5c8b1c',
    950: '#000000',
  },
}
SCSS
$custom: #5c8b1c;
$custom-light: #8fad62;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8b1c",
  "rgb": {
    "r": 92,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 85.405,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58156,
    "c": 0.14542,
    "h": 130.5
  },
  "luminance": 0.20824
}

Semantic roles & 50–950 ramp

primary
#5C8B1C
secondary
#7847BC
accent
#3EE987
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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