#5C852A#5C852A

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

Color values

HEX#5C852A
RGBrgb(92, 133, 42)
HSLhsl(87, 52%, 34%)
HSVhsv(87, 68%, 52%)
CMYKcmyk(30.8%, 0%, 68.4%, 47.8%)
CIE-LABlab(50.94, -29.48, 42.84)
CIE-LCHlch(50.94, 52.00, 124.54°)
OKLaboklab(56.71% -0.0832 0.0977)
OKLCHoklch(56.71% 0.128 130.4)
XYZxyz(13.2190, 19.2171, 5.2028)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C852A #532A85
analogous
#85812A #5C852A #2F852A
triadic
#5C852A #2A5C85 #852A5C
tetradic
#5C852A #2A8581 #532A85 #852A2F
square
#5C852A #2A8581 #532A85 #852A2F
split-complementary
#5C852A #2A2F85 #812A85
monochromatic
#1C280D #3C561B #5C852A #7CB439 #9ACC5D

Accessibility & contrast

On white

4.34
#5C852A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5C852A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C852A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C852A#FFFFFF#000000##000000
##5C852A1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1E
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#5E7F72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c852a;
/* rgb */ color: rgb(92, 133, 42);
/* oklch */ color: oklch(56.7% 0.128 130.4);
Tailwind
colors: {
  custom: {
    50: '#8da869',
    500: '#5c852a',
    950: '#000000',
  },
}
SCSS
$custom: #5c852a;
$custom-light: #8da869;
$custom-dark: #000000;
JSON
{
  "hex": "#5c852a",
  "rgb": {
    "r": 92,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 87.033,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56707,
    "c": 0.12837,
    "h": 130.4
  },
  "luminance": 0.19218
}

Semantic roles & 50–950 ramp

primary
#5C852A
secondary
#8159B2
accent
#4CDB8D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5C852A

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

Preview Lab → · Contrast checker → · Palette generator →

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