#5C831B#5C831B

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

Color values

HEX#5C831B
RGBrgb(92, 131, 27)
HSLhsl(83, 66%, 31%)
HSVhsv(83, 79%, 51%)
CMYKcmyk(29.8%, 0%, 79.4%, 48.6%)
CIE-LABlab(50.20, -29.54, 47.91)
CIE-LCHlch(50.20, 56.28, 121.66°)
OKLaboklab(56.07% -0.0847 0.106)
OKLCHoklch(56.07% 0.136 128.6)
XYZxyz(12.7278, 18.5867, 3.9537)
Luminance0.1859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C831B #421B83
analogous
#83761B #5C831B #28831B
triadic
#5C831B #1B5C83 #831B5C
tetradic
#5C831B #1B8376 #421B83 #831B28
square
#5C831B #1B8376 #421B83 #831B28
split-complementary
#5C831B #1B2883 #761B83
monochromatic
#151E06 #385011 #5C831B #80B625 #9FD841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5c831b;
/* rgb */ color: rgb(92, 131, 27);
/* oklch */ color: oklch(56.1% 0.136 128.6);
Tailwind
colors: {
  custom: {
    50: '#8ea761',
    500: '#5c831b',
    950: '#000000',
  },
}
SCSS
$custom: #5c831b;
$custom-light: #8ea761;
$custom-dark: #000000;
JSON
{
  "hex": "#5c831b",
  "rgb": {
    "r": 92,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 82.5,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56072,
    "c": 0.13566,
    "h": 128.6
  },
  "luminance": 0.18587
}

Semantic roles & 50–950 ramp

primary
#5C831B
secondary
#6F43B6
accent
#3FE97F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5C831B

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

Preview Lab → · Contrast checker → · Palette generator →

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