#5C831E#5C831E

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

Color values

HEX#5C831E
RGBrgb(92, 131, 30)
HSLhsl(83, 63%, 32%)
HSVhsv(83, 77%, 51%)
CMYKcmyk(29.8%, 0%, 77.1%, 48.6%)
CIE-LABlab(50.22, -29.37, 46.88)
CIE-LCHlch(50.22, 55.32, 122.07°)
OKLaboklab(56.09% -0.084 0.1043)
OKLCHoklch(56.09% 0.134 128.8)
XYZxyz(12.7643, 18.6013, 4.1460)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C831E #451E83
analogous
#83781E #5C831E #2A831E
triadic
#5C831E #1E5C83 #831E5C
tetradic
#5C831E #1E8378 #451E83 #831E2A
square
#5C831E #1E8378 #451E83 #831E2A
split-complementary
#5C831E #1E2A83 #781E83
monochromatic
#161F07 #395113 #5C831E #7FB529 #9ED547

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C831E#FFFFFF#000000##000000
##5C831E1.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)
#8A7908
Deuteranopia (green-blind)
#847728
Tritanopia (blue-blind)
#5F7D70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c831e;
/* rgb */ color: rgb(92, 131, 30);
/* oklch */ color: oklch(56.1% 0.134 128.8);
Tailwind
colors: {
  custom: {
    50: '#8ea762',
    500: '#5c831e',
    950: '#000000',
  },
}
SCSS
$custom: #5c831e;
$custom-light: #8ea762;
$custom-dark: #000000;
JSON
{
  "hex": "#5c831e",
  "rgb": {
    "r": 92,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 83.168,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56092,
    "c": 0.13392,
    "h": 128.8
  },
  "luminance": 0.18602
}

Semantic roles & 50–950 ramp

primary
#5C831E
secondary
#7247B6
accent
#42E681
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5C831E

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

Preview Lab → · Contrast checker → · Palette generator →

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