#5C8B1B#5C8B1B

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

Color values

HEX#5C8B1B
RGBrgb(92, 139, 27)
HSLhsl(85, 67%, 33%)
HSVhsv(85, 81%, 55%)
CMYKcmyk(33.8%, 0%, 80.6%, 45.5%)
CIE-LABlab(52.75, -33.27, 50.29)
CIE-LCHlch(52.75, 60.30, 123.48°)
OKLaboklab(58.15% -0.0947 0.111)
OKLCHoklch(58.15% 0.146 130.5)
XYZxyz(13.8440, 20.8192, 4.3258)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8B1B #4A1B8B
analogous
#8B821B #5C8B1B #248B1B
triadic
#5C8B1B #1B5C8B #8B1B5C
tetradic
#5C8B1B #1B8B82 #4A1B8B #8B1B24
square
#5C8B1B #1B8B82 #4A1B8B #8B1B24
split-complementary
#5C8B1B #1B248B #821B8B
monochromatic
#182507 #3A5811 #5C8B1B #7EBE25 #9CDB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5c8b1b;
/* rgb */ color: rgb(92, 139, 27);
/* oklch */ color: oklch(58.1% 0.146 130.5);
Tailwind
colors: {
  custom: {
    50: '#8fad62',
    500: '#5c8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #5c8b1b;
$custom-light: #8fad62;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8b1b",
  "rgb": {
    "r": 92,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 85.179,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5815,
    "c": 0.14594,
    "h": 130.5
  },
  "luminance": 0.2082
}

Semantic roles & 50–950 ramp

primary
#5C8B1B
secondary
#7745BC
accent
#3DEA86
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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