#5C8F22#5C8F22

#5C8F22 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.2% C 0.147 H 131.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5C8F22
RGBrgb(92, 143, 34)
HSLhsl(88, 62%, 35%)
HSVhsv(88, 76%, 56%)
CMYKcmyk(35.7%, 0%, 76.2%, 43.9%)
CIE-LABlab(54.06, -34.68, 49.18)
CIE-LCHlch(54.06, 60.18, 125.20°)
OKLaboklab(59.23% -0.0981 0.1098)
OKLCHoklch(59.23% 0.147 131.8)
XYZxyz(14.5247, 22.0352, 5.0010)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F22 #55228F
analogous
#8F8B22 #5C8F22 #268F22
triadic
#5C8F22 #225C8F #8F225C
tetradic
#5C8F22 #228F8B #55228F #8F2226
square
#5C8F22 #228F8B #55228F #8F2226
split-complementary
#5C8F22 #22268F #8B228F
monochromatic
#1C2C0A #3C5E16 #5C8F22 #7CC02E #9AD755

Accessibility & contrast

On white

3.88
#5C8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5C8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8F22
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8F22#FFFFFF#000000##000000
##5C8F221.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840B
Deuteranopia (green-blind)
#8E802D
Tritanopia (blue-blind)
#5D897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8f22;
/* rgb */ color: rgb(92, 143, 34);
/* oklch */ color: oklch(59.2% 0.147 131.8);
Tailwind
colors: {
  custom: {
    50: '#8fb065',
    500: '#5c8f22',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f22;
$custom-light: #8fb065;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f22",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 88.073,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59234,
    "c": 0.14722,
    "h": 131.8
  },
  "luminance": 0.22036
}

Semantic roles & 50–950 ramp

primary
#5C8F22
secondary
#8352BA
accent
#43E58F
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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