#5C831F#5C831F

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

Color values

HEX#5C831F
RGBrgb(92, 131, 31)
HSLhsl(83, 62%, 32%)
HSVhsv(83, 76%, 51%)
CMYKcmyk(29.8%, 0%, 76.3%, 48.6%)
CIE-LABlab(50.22, -29.31, 46.53)
CIE-LCHlch(50.22, 54.99, 122.21°)
OKLaboklab(56.1% -0.0837 0.1038)
OKLCHoklch(56.1% 0.133 128.9)
XYZxyz(12.7772, 18.6065, 4.2143)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C831F #461F83
analogous
#83781F #5C831F #2A831F
triadic
#5C831F #1F5C83 #831F5C
tetradic
#5C831F #1F8378 #461F83 #831F2A
square
#5C831F #1F8378 #461F83 #831F2A
split-complementary
#5C831F #1F2A83 #781F83
monochromatic
#162008 #395213 #5C831F #7FB42B #9ED449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C831F#FFFFFF#000000##000000
##5C831F1.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)
#8A790A
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#5F7D70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c831f;
/* rgb */ color: rgb(92, 131, 31);
/* oklch */ color: oklch(56.1% 0.133 128.9);
Tailwind
colors: {
  custom: {
    50: '#8ea762',
    500: '#5c831f',
    950: '#000000',
  },
}
SCSS
$custom: #5c831f;
$custom-light: #8ea762;
$custom-dark: #000000;
JSON
{
  "hex": "#5c831f",
  "rgb": {
    "r": 92,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 83.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56099,
    "c": 0.13332,
    "h": 128.9
  },
  "luminance": 0.18607
}

Semantic roles & 50–950 ramp

primary
#5C831F
secondary
#7348B6
accent
#43E582
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5C831F

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

Preview Lab → · Contrast checker → · Palette generator →

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