#5C8310#5C8310

#5C8310 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 56.0% C 0.141 H 128.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5C8310
RGBrgb(92, 131, 16)
HSLhsl(80, 78%, 29%)
HSVhsv(80, 88%, 51%)
CMYKcmyk(29.8%, 0%, 87.8%, 48.6%)
CIE-LABlab(50.15, -30.03, 51.04)
CIE-LCHlch(50.15, 59.22, 120.47°)
OKLaboklab(56.02% -0.0867 0.1108)
OKLCHoklch(56.02% 0.141 128)
XYZxyz(12.6235, 18.5450, 3.4046)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8310 #371083
analogous
#837110 #5C8310 #238310
triadic
#5C8310 #105C83 #83105C
tetradic
#5C8310 #108371 #371083 #831023
square
#5C8310 #108371 #371083 #831023
split-complementary
#5C8310 #102383 #711083
monochromatic
#131B03 #364C09 #5C8310 #82BA17 #A5E529

Accessibility & contrast

On white

4.46
#5C8310 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5C8310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8310
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8310#FFFFFF#000000##000000
##5C83101.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#85771F
Tritanopia (blue-blind)
#607D6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c8310;
/* rgb */ color: rgb(92, 131, 16);
/* oklch */ color: oklch(56.0% 0.141 128.0);
Tailwind
colors: {
  custom: {
    50: '#8ea75c',
    500: '#5c8310',
    950: '#000000',
  },
}
SCSS
$custom: #5c8310;
$custom-light: #8ea75c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8310",
  "rgb": {
    "r": 92,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 80.348,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56016,
    "c": 0.14071,
    "h": 128
  },
  "luminance": 0.18545
}

Semantic roles & 50–950 ramp

primary
#5C8310
secondary
#6236B9
accent
#33F575
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8310

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

Preview Lab → · Contrast checker → · Palette generator →

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