#5C802C#5C802C

#5C802C is a mid, moderate yellow-green. Relative luminance 0.179; OKLCH L 55.4% C 0.120 H 129.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5C802C
RGBrgb(92, 128, 44)
HSLhsl(86, 49%, 34%)
HSVhsv(86, 66%, 50%)
CMYKcmyk(28.1%, 0%, 65.6%, 49.8%)
CIE-LABlab(49.37, -26.90, 40.27)
CIE-LCHlch(49.37, 48.43, 123.75°)
OKLaboklab(55.44% -0.076 0.0926)
OKLCHoklch(55.44% 0.12 129.4)
XYZxyz(12.5874, 17.8952, 5.1733)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C802C #502C80
analogous
#807A2C #5C802C #32802C
triadic
#5C802C #2C5C80 #802C5C
tetradic
#5C802C #2C807A #502C80 #802C32
square
#5C802C #2C807A #502C80 #802C32
split-complementary
#5C802C #2C3280 #7A2C80
monochromatic
#1B250D #3B521C #5C802C #7DAE3C #9BC85F

Accessibility & contrast

On white

4.59
#5C802C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5C802C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5C802C
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C802C#FFFFFF#000000##FFFFFF
##5C802C1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867722
Deuteranopia (green-blind)
#817532
Tritanopia (blue-blind)
#5F7A6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5c802c;
/* rgb */ color: rgb(92, 128, 44);
/* oklch */ color: oklch(55.4% 0.120 129.4);
Tailwind
colors: {
  custom: {
    50: '#8da569',
    500: '#5c802c',
    950: '#000000',
  },
}
SCSS
$custom: #5c802c;
$custom-light: #8da569;
$custom-dark: #000000;
JSON
{
  "hex": "#5c802c",
  "rgb": {
    "r": 92,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 85.714,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55436,
    "c": 0.11976,
    "h": 129.4
  },
  "luminance": 0.17896
}

Semantic roles & 50–950 ramp

primary
#5C802C
secondary
#7E5AAE
accent
#4FD88A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5C802C

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

Preview Lab → · Contrast checker → · Palette generator →

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