#5C851E#5C851E

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

Color values

HEX#5C851E
RGBrgb(92, 133, 30)
HSLhsl(84, 63%, 32%)
HSVhsv(84, 77%, 52%)
CMYKcmyk(30.8%, 0%, 77.4%, 47.8%)
CIE-LABlab(50.85, -30.32, 47.50)
CIE-LCHlch(50.85, 56.35, 122.55°)
OKLaboklab(56.61% -0.0865 0.1056)
OKLCHoklch(56.61% 0.137 129.3)
XYZxyz(13.0355, 19.1437, 4.2364)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C851E #471E85
analogous
#857A1E #5C851E #29851E
triadic
#5C851E #1E5C85 #851E5C
tetradic
#5C851E #1E857A #471E85 #851E29
square
#5C851E #1E857A #471E85 #851E29
split-complementary
#5C851E #1E2985 #7A1E85
monochromatic
#172107 #395313 #5C851E #7FB729 #9DD648

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C851E#FFFFFF#000000##000000
##5C851E1.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)
#8C7B06
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#5F7F71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c851e;
/* rgb */ color: rgb(92, 133, 30);
/* oklch */ color: oklch(56.6% 0.137 129.3);
Tailwind
colors: {
  custom: {
    50: '#8ea862',
    500: '#5c851e',
    950: '#000000',
  },
}
SCSS
$custom: #5c851e;
$custom-light: #8ea862;
$custom-dark: #000000;
JSON
{
  "hex": "#5c851e",
  "rgb": {
    "r": 92,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 83.883,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56611,
    "c": 0.13655,
    "h": 129.3
  },
  "luminance": 0.19144
}

Semantic roles & 50–950 ramp

primary
#5C851E
secondary
#7447B8
accent
#42E683
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5C851E

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

Preview Lab → · Contrast checker → · Palette generator →

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