#5C852D#5C852D

#5C852D is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.7% C 0.126 H 130.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5C852D
RGBrgb(92, 133, 45)
HSLhsl(88, 49%, 35%)
HSVhsv(88, 66%, 52%)
CMYKcmyk(30.8%, 0%, 66.2%, 47.8%)
CIE-LABlab(50.97, -29.23, 41.54)
CIE-LCHlch(50.97, 50.80, 125.13°)
OKLaboklab(56.74% -0.0823 0.0954)
OKLCHoklch(56.74% 0.126 130.8)
XYZxyz(13.2747, 19.2394, 5.4963)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C852D #562D85
analogous
#85822D #5C852D #30852D
triadic
#5C852D #2D5C85 #852D5C
tetradic
#5C852D #2D8582 #562D85 #852D30
square
#5C852D #2D8582 #562D85 #852D30
split-complementary
#5C852D #2D3085 #822D85
monochromatic
#1D2A0E #3C571E #5C852D #7CB33C #9ACA62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C852D#FFFFFF#000000##000000
##5C852D1.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)
#8B7B22
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#5E7F73
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c852d;
/* rgb */ color: rgb(92, 133, 45);
/* oklch */ color: oklch(56.7% 0.126 130.8);
Tailwind
colors: {
  custom: {
    50: '#8da86a',
    500: '#5c852d',
    950: '#000000',
  },
}
SCSS
$custom: #5c852d;
$custom-light: #8da86a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c852d",
  "rgb": {
    "r": 92,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 87.955,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56737,
    "c": 0.12598,
    "h": 130.8
  },
  "luminance": 0.1924
}

Semantic roles & 50–950 ramp

primary
#5C852D
secondary
#845DB0
accent
#4FD98F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5C852D

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

Preview Lab → · Contrast checker → · Palette generator →

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