#5C831D#5C831D

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

Color values

HEX#5C831D
RGBrgb(92, 131, 29)
HSLhsl(83, 64%, 31%)
HSVhsv(83, 78%, 51%)
CMYKcmyk(29.8%, 0%, 77.9%, 48.6%)
CIE-LABlab(50.21, -29.43, 47.23)
CIE-LCHlch(50.21, 55.65, 121.93°)
OKLaboklab(56.08% -0.0842 0.1049)
OKLCHoklch(56.08% 0.135 128.8)
XYZxyz(12.7517, 18.5963, 4.0798)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C831D #441D83
analogous
#83771D #5C831D #29831D
triadic
#5C831D #1D5C83 #831D5C
tetradic
#5C831D #1D8377 #441D83 #831D29
square
#5C831D #1D8377 #441D83 #831D29
split-complementary
#5C831D #1D2983 #771D83
monochromatic
#161F07 #395112 #5C831D #7FB528 #9ED645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C831D#FFFFFF#000000##000000
##5C831D1.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)
#8A7905
Deuteranopia (green-blind)
#847727
Tritanopia (blue-blind)
#5F7D70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c831d;
/* rgb */ color: rgb(92, 131, 29);
/* oklch */ color: oklch(56.1% 0.135 128.8);
Tailwind
colors: {
  custom: {
    50: '#8ea761',
    500: '#5c831d',
    950: '#000000',
  },
}
SCSS
$custom: #5c831d;
$custom-light: #8ea761;
$custom-dark: #000000;
JSON
{
  "hex": "#5c831d",
  "rgb": {
    "r": 92,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 82.941,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56085,
    "c": 0.13452,
    "h": 128.8
  },
  "luminance": 0.18597
}

Semantic roles & 50–950 ramp

primary
#5C831D
secondary
#7146B6
accent
#41E780
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5C831D

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

Preview Lab → · Contrast checker → · Palette generator →

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