#5C8319#5C8319

#5C8319 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.1% C 0.137 H 128.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5C8319
RGBrgb(92, 131, 25)
HSLhsl(82, 68%, 31%)
HSVhsv(82, 81%, 51%)
CMYKcmyk(29.8%, 0%, 80.9%, 48.6%)
CIE-LABlab(50.19, -29.65, 48.56)
CIE-LCHlch(50.19, 56.89, 121.41°)
OKLaboklab(56.06% -0.0851 0.107)
OKLCHoklch(56.06% 0.137 128.5)
XYZxyz(12.7054, 18.5778, 3.8360)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8319 #401983
analogous
#837519 #5C8319 #278319
triadic
#5C8319 #195C83 #83195C
tetradic
#5C8319 #198375 #401983 #831927
square
#5C8319 #198375 #401983 #831927
split-complementary
#5C8319 #192783 #751983
monochromatic
#141C05 #38500F #5C8319 #80B623 #A0DA3D

Accessibility & contrast

On white

4.45
#5C8319 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5C8319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8319
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8319#FFFFFF#000000##000000
##5C83191.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#847724
Tritanopia (blue-blind)
#5F7D6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c8319;
/* rgb */ color: rgb(92, 131, 25);
/* oklch */ color: oklch(56.1% 0.137 128.5);
Tailwind
colors: {
  custom: {
    50: '#8ea760',
    500: '#5c8319',
    950: '#000000',
  },
}
SCSS
$custom: #5c8319;
$custom-light: #8ea760;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8319",
  "rgb": {
    "r": 92,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 82.075,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5606,
    "c": 0.13672,
    "h": 128.5
  },
  "luminance": 0.18578
}

Semantic roles & 50–950 ramp

primary
#5C8319
secondary
#6C41B7
accent
#3DEB7D
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8319

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

Preview Lab → · Contrast checker → · Palette generator →

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