#5C821C#5C821C

#5C821C is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.8% C 0.134 H 128.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5C821C
RGBrgb(92, 130, 28)
HSLhsl(82, 65%, 31%)
HSVhsv(82, 78%, 51%)
CMYKcmyk(29.2%, 0%, 78.5%, 49%)
CIE-LABlab(49.89, -29.01, 47.27)
CIE-LCHlch(49.89, 55.46, 121.54°)
OKLaboklab(55.82% -0.0831 0.1048)
OKLCHoklch(55.82% 0.134 128.4)
XYZxyz(12.6059, 18.3241, 3.9711)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C821C #421C82
analogous
#82751C #5C821C #29821C
triadic
#5C821C #1C5C82 #821C5C
tetradic
#5C821C #1C8275 #421C82 #821C29
square
#5C821C #1C8275 #421C82 #821C29
split-complementary
#5C821C #1C2982 #751C82
monochromatic
#151D06 #385011 #5C821C #80B427 #9FD642

Accessibility & contrast

On white

4.50
#5C821C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5C821C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C821C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C821C#FFFFFF#000000##000000
##5C821C1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897803
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#5F7C6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c821c;
/* rgb */ color: rgb(92, 130, 28);
/* oklch */ color: oklch(55.8% 0.134 128.4);
Tailwind
colors: {
  custom: {
    50: '#8ea661',
    500: '#5c821c',
    950: '#000000',
  },
}
SCSS
$custom: #5c821c;
$custom-light: #8ea661;
$custom-dark: #000000;
JSON
{
  "hex": "#5c821c",
  "rgb": {
    "r": 92,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 82.353,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.1338,
    "h": 128.4
  },
  "luminance": 0.18324
}

Semantic roles & 50–950 ramp

primary
#5C821C
secondary
#6F44B5
accent
#40E87F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5C821C

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

Preview Lab → · Contrast checker → · Palette generator →

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