#5C831C#5C831C

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

Color values

HEX#5C831C
RGBrgb(92, 131, 28)
HSLhsl(83, 65%, 31%)
HSVhsv(83, 79%, 51%)
CMYKcmyk(29.8%, 0%, 78.6%, 48.6%)
CIE-LABlab(50.21, -29.49, 47.57)
CIE-LCHlch(50.21, 55.97, 121.79°)
OKLaboklab(56.08% -0.0844 0.1055)
OKLCHoklch(56.08% 0.135 128.7)
XYZxyz(12.7395, 18.5914, 4.0157)
Luminance0.1859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C831C #431C83
analogous
#83761C #5C831C #29831C
triadic
#5C831C #1C5C83 #831C5C
tetradic
#5C831C #1C8376 #431C83 #831C29
square
#5C831C #1C8376 #431C83 #831C29
split-complementary
#5C831C #1C2983 #761C83
monochromatic
#151E06 #395111 #5C831C #7FB527 #9FD743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C831C#FFFFFF#000000##000000
##5C831C1.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)
#8A7903
Deuteranopia (green-blind)
#847726
Tritanopia (blue-blind)
#5F7D70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c831c;
/* rgb */ color: rgb(92, 131, 28);
/* oklch */ color: oklch(56.1% 0.135 128.7);
Tailwind
colors: {
  custom: {
    50: '#8ea761',
    500: '#5c831c',
    950: '#000000',
  },
}
SCSS
$custom: #5c831c;
$custom-light: #8ea761;
$custom-dark: #000000;
JSON
{
  "hex": "#5c831c",
  "rgb": {
    "r": 92,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 82.718,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56079,
    "c": 0.13509,
    "h": 128.7
  },
  "luminance": 0.18592
}

Semantic roles & 50–950 ramp

primary
#5C831C
secondary
#7045B6
accent
#40E880
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5C831C

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

Preview Lab → · Contrast checker → · Palette generator →

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