#5C8122#5C8122

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

Color values

HEX#5C8122
RGBrgb(92, 129, 34)
HSLhsl(83, 58%, 32%)
HSVhsv(83, 74%, 51%)
CMYKcmyk(28.7%, 0%, 73.6%, 49.4%)
CIE-LABlab(49.61, -28.16, 44.78)
CIE-LCHlch(49.61, 52.90, 122.17°)
OKLaboklab(55.6% -0.0803 0.1006)
OKLCHoklch(55.6% 0.129 128.6)
XYZxyz(12.5526, 18.0910, 4.3436)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8122 #472281
analogous
#817722 #5C8122 #2D8122
triadic
#5C8122 #225C81 #81225C
tetradic
#5C8122 #228177 #472281 #81222D
square
#5C8122 #228177 #472281 #81222D
split-complementary
#5C8122 #222D81 #772281
monochromatic
#172008 #395115 #5C8122 #7FB12F #9DD04D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8122#FFFFFF#000000##000000
##5C81221.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)
#877812
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#5F7B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c8122;
/* rgb */ color: rgb(92, 129, 34);
/* oklch */ color: oklch(55.6% 0.129 128.6);
Tailwind
colors: {
  custom: {
    50: '#8da564',
    500: '#5c8122',
    950: '#000000',
  },
}
SCSS
$custom: #5c8122;
$custom-light: #8da564;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8122",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 83.368,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55603,
    "c": 0.12872,
    "h": 128.6
  },
  "luminance": 0.18091
}

Semantic roles & 50–950 ramp

primary
#5C8122
secondary
#744BB3
accent
#46E183
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5C8122

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

Preview Lab → · Contrast checker → · Palette generator →

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