#5C851A#5C851A

#5C851A is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.6% C 0.139 H 129.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5C851A
RGBrgb(92, 133, 26)
HSLhsl(83, 67%, 31%)
HSVhsv(83, 80%, 52%)
CMYKcmyk(30.8%, 0%, 80.5%, 47.8%)
CIE-LABlab(50.83, -30.54, 48.83)
CIE-LCHlch(50.83, 57.59, 122.02°)
OKLaboklab(56.58% -0.0874 0.1078)
OKLCHoklch(56.58% 0.139 129.1)
XYZxyz(12.9876, 19.1246, 3.9842)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C851A #431A85
analogous
#85781A #5C851A #26851A
triadic
#5C851A #1A5C85 #851A5C
tetradic
#5C851A #1A8578 #431A85 #851A26
square
#5C851A #1A8578 #431A85 #851A26
split-complementary
#5C851A #1A2685 #781A85
monochromatic
#151F06 #395210 #5C851A #7FB824 #9FDA40

Accessibility & contrast

On white

4.35
#5C851A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5C851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C851A
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C851A#FFFFFF#000000##000000
##5C851A1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#5F7F71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c851a;
/* rgb */ color: rgb(92, 133, 26);
/* oklch */ color: oklch(56.6% 0.139 129.1);
Tailwind
colors: {
  custom: {
    50: '#8ea860',
    500: '#5c851a',
    950: '#000000',
  },
}
SCSS
$custom: #5c851a;
$custom-light: #8ea860;
$custom-dark: #000000;
JSON
{
  "hex": "#5c851a",
  "rgb": {
    "r": 92,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 82.991,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56585,
    "c": 0.13877,
    "h": 129.1
  },
  "luminance": 0.19125
}

Semantic roles & 50–950 ramp

primary
#5C851A
secondary
#7042B8
accent
#3EEA80
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5C851A

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

Preview Lab → · Contrast checker → · Palette generator →

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