#5C852B#5C852B

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

Color values

HEX#5C852B
RGBrgb(92, 133, 43)
HSLhsl(87, 51%, 35%)
HSVhsv(87, 68%, 52%)
CMYKcmyk(30.8%, 0%, 67.7%, 47.8%)
CIE-LABlab(50.95, -29.40, 42.41)
CIE-LCHlch(50.95, 51.61, 124.73°)
OKLaboklab(56.72% -0.0829 0.097)
OKLCHoklch(56.72% 0.128 130.5)
XYZxyz(13.2371, 19.2244, 5.2983)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C852B #542B85
analogous
#85812B #5C852B #2F852B
triadic
#5C852B #2B5C85 #852B5C
tetradic
#5C852B #2B8581 #542B85 #852B2F
square
#5C852B #2B8581 #542B85 #852B2F
split-complementary
#5C852B #2B2F85 #812B85
monochromatic
#1C290D #3C571C #5C852B #7CB33A #9ACB5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C852B#FFFFFF#000000##000000
##5C852B1.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)
#8B7B1F
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#5E7F73
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c852b;
/* rgb */ color: rgb(92, 133, 43);
/* oklch */ color: oklch(56.7% 0.128 130.5);
Tailwind
colors: {
  custom: {
    50: '#8da869',
    500: '#5c852b',
    950: '#000000',
  },
}
SCSS
$custom: #5c852b;
$custom-light: #8da869;
$custom-dark: #000000;
JSON
{
  "hex": "#5c852b",
  "rgb": {
    "r": 92,
    "g": 133,
    "b": 43
  },
  "hsl": {
    "h": 87.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56717,
    "c": 0.12759,
    "h": 130.5
  },
  "luminance": 0.19225
}

Semantic roles & 50–950 ramp

primary
#5C852B
secondary
#825BB1
accent
#4DDB8E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5C852B

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

Preview Lab → · Contrast checker → · Palette generator →

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