#5C8121#5C8121

#5C8121 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.6% C 0.129 H 128.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5C8121
RGBrgb(92, 129, 33)
HSLhsl(83, 59%, 32%)
HSVhsv(83, 74%, 51%)
CMYKcmyk(28.7%, 0%, 74.4%, 49.4%)
CIE-LABlab(49.60, -28.23, 45.16)
CIE-LCHlch(49.60, 53.26, 122.01°)
OKLaboklab(55.6% -0.0806 0.1012)
OKLCHoklch(55.6% 0.129 128.5)
XYZxyz(12.5384, 18.0853, 4.2688)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8121 #462181
analogous
#817621 #5C8121 #2C8121
triadic
#5C8121 #215C81 #81215C
tetradic
#5C8121 #218176 #462181 #81212C
square
#5C8121 #218176 #462181 #81212C
split-complementary
#5C8121 #212C81 #762181
monochromatic
#162008 #395015 #5C8121 #7FB22D #9ED14B

Accessibility & contrast

On white

4.55
#5C8121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5C8121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8121
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8121#FFFFFF#000000##000000
##5C81211.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887810
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#5F7B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c8121;
/* rgb */ color: rgb(92, 129, 33);
/* oklch */ color: oklch(55.6% 0.129 128.5);
Tailwind
colors: {
  custom: {
    50: '#8ea563',
    500: '#5c8121',
    950: '#000000',
  },
}
SCSS
$custom: #5c8121;
$custom-light: #8ea563;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8121",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 83.125,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55596,
    "c": 0.12939,
    "h": 128.5
  },
  "luminance": 0.18086
}

Semantic roles & 50–950 ramp

primary
#5C8121
secondary
#734AB4
accent
#45E282
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5C8121

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

Preview Lab → · Contrast checker → · Palette generator →

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