#5C851C#5C851C

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

Color values

HEX#5C851C
RGBrgb(92, 133, 28)
HSLhsl(83, 65%, 32%)
HSVhsv(83, 79%, 52%)
CMYKcmyk(30.8%, 0%, 78.9%, 47.8%)
CIE-LABlab(50.84, -30.43, 48.18)
CIE-LCHlch(50.84, 56.98, 122.28°)
OKLaboklab(56.6% -0.087 0.1067)
OKLCHoklch(56.6% 0.138 129.2)
XYZxyz(13.0107, 19.1338, 4.1061)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C851C #451C85
analogous
#857A1C #5C851C #27851C
triadic
#5C851C #1C5C85 #851C5C
tetradic
#5C851C #1C857A #451C85 #851C27
square
#5C851C #1C857A #451C85 #851C27
split-complementary
#5C851C #1C2785 #7A1C85
monochromatic
#162007 #395211 #5C851C #7FB827 #9ED844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C851C#FFFFFF#000000##000000
##5C851C1.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)
#8C7B02
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#5F7F71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c851c;
/* rgb */ color: rgb(92, 133, 28);
/* oklch */ color: oklch(56.6% 0.138 129.2);
Tailwind
colors: {
  custom: {
    50: '#8ea861',
    500: '#5c851c',
    950: '#000000',
  },
}
SCSS
$custom: #5c851c;
$custom-light: #8ea861;
$custom-dark: #000000;
JSON
{
  "hex": "#5c851c",
  "rgb": {
    "r": 92,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 83.429,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56597,
    "c": 0.13769,
    "h": 129.2
  },
  "luminance": 0.19134
}

Semantic roles & 50–950 ramp

primary
#5C851C
secondary
#7245B8
accent
#40E881
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5C851C

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

Preview Lab → · Contrast checker → · Palette generator →

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