#5C852F#5C852F

#5C852F is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.8% C 0.124 H 131.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5C852F
RGBrgb(92, 133, 47)
HSLhsl(89, 48%, 35%)
HSVhsv(89, 65%, 52%)
CMYKcmyk(30.8%, 0%, 64.7%, 47.8%)
CIE-LABlab(50.98, -29.05, 40.66)
CIE-LCHlch(50.98, 49.97, 125.55°)
OKLaboklab(56.76% -0.0816 0.0938)
OKLCHoklch(56.76% 0.124 131)
XYZxyz(13.3141, 19.2552, 5.7039)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C852F #582F85
analogous
#85832F #5C852F #31852F
triadic
#5C852F #2F5C85 #852F5C
tetradic
#5C852F #2F8583 #582F85 #852F31
square
#5C852F #2F8583 #582F85 #852F31
split-complementary
#5C852F #2F3185 #832F85
monochromatic
#1D2B0F #3D581F #5C852F #7BB23F #9AC966

Accessibility & contrast

On white

4.33
#5C852F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5C852F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C852F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C852F#FFFFFF#000000##000000
##5C852F1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B25
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#5E8073
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c852f;
/* rgb */ color: rgb(92, 133, 47);
/* oklch */ color: oklch(56.8% 0.124 131.0);
Tailwind
colors: {
  custom: {
    50: '#8da86b',
    500: '#5c852f',
    950: '#000000',
  },
}
SCSS
$custom: #5c852f;
$custom-light: #8da86b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c852f",
  "rgb": {
    "r": 92,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 88.605,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56757,
    "c": 0.12432,
    "h": 131
  },
  "luminance": 0.19256
}

Semantic roles & 50–950 ramp

primary
#5C852F
secondary
#8660B0
accent
#50D791
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5C852F

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

Preview Lab → · Contrast checker → · Palette generator →

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