#5C8231#5C8231

#5C8231 is a mid, moderate yellow-green. Relative luminance 0.185; OKLCH L 56.0% C 0.118 H 130.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5C8231
RGBrgb(92, 130, 49)
HSLhsl(88, 45%, 35%)
HSVhsv(88, 62%, 51%)
CMYKcmyk(29.2%, 0%, 62.3%, 49%)
CIE-LABlab(50.05, -27.42, 38.69)
CIE-LCHlch(50.05, 47.42, 125.32°)
OKLaboklab(56.01% -0.0769 0.0898)
OKLCHoklch(56.01% 0.118 130.6)
XYZxyz(12.9505, 18.4620, 5.7863)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8231 #573182
analogous
#827F31 #5C8231 #348231
triadic
#5C8231 #315C82 #82315C
tetradic
#5C8231 #31827F #573182 #823134
square
#5C8231 #31827F #573182 #823134
split-complementary
#5C8231 #313482 #7F3182
monochromatic
#1D290F #3D5620 #5C8231 #7BAE42 #9AC668

Accessibility & contrast

On white

4.48
#5C8231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5C8231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8231
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8231#FFFFFF#000000##000000
##5C82311.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887928
Deuteranopia (green-blind)
#827637
Tritanopia (blue-blind)
#5E7D71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c8231;
/* rgb */ color: rgb(92, 130, 49);
/* oklch */ color: oklch(56.0% 0.118 130.6);
Tailwind
colors: {
  custom: {
    50: '#8da66c',
    500: '#5c8231',
    950: '#000000',
  },
}
SCSS
$custom: #5c8231;
$custom-light: #8da66c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8231",
  "rgb": {
    "r": 92,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 88.148,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56006,
    "c": 0.11829,
    "h": 130.6
  },
  "luminance": 0.18462
}

Semantic roles & 50–950 ramp

primary
#5C8231
secondary
#8562AD
accent
#53D590
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5C8231

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

Preview Lab → · Contrast checker → · Palette generator →

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