#5C8013#5C8013

#5C8013 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.3% C 0.136 H 127.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5C8013
RGBrgb(92, 128, 19)
HSLhsl(80, 74%, 29%)
HSVhsv(80, 85%, 50%)
CMYKcmyk(28.1%, 0%, 85.2%, 49.8%)
CIE-LABlab(49.20, -28.49, 49.45)
CIE-LCHlch(49.20, 57.07, 119.95°)
OKLaboklab(55.25% -0.0824 0.1079)
OKLCHoklch(55.25% 0.136 127.4)
XYZxyz(12.2504, 17.7604, 3.3986)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8013 #371380
analogous
#806E13 #5C8013 #258013
triadic
#5C8013 #135C80 #80135C
tetradic
#5C8013 #13806E #371380 #801325
square
#5C8013 #13806E #371380 #801325
split-complementary
#5C8013 #132580 #6E1380
monochromatic
#131B04 #364B0B #5C8013 #82B51B #A5E02D

Accessibility & contrast

On white

4.61
#5C8013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5C8013 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5C8013
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8013#FFFFFF#000000##FFFFFF
##5C80131.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#607A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5c8013;
/* rgb */ color: rgb(92, 128, 19);
/* oklch */ color: oklch(55.3% 0.136 127.4);
Tailwind
colors: {
  custom: {
    50: '#8ea55d',
    500: '#5c8013',
    950: '#000000',
  },
}
SCSS
$custom: #5c8013;
$custom-light: #8ea55d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8013",
  "rgb": {
    "r": 92,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 79.817,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5525,
    "c": 0.13575,
    "h": 127.4
  },
  "luminance": 0.17761
}

Semantic roles & 50–950 ramp

primary
#5C8013
secondary
#6239B5
accent
#37F174
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8013

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

Preview Lab → · Contrast checker → · Palette generator →

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