#5C8E22#5C8E22

#5C8E22 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.0% C 0.146 H 131.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5C8E22
RGBrgb(92, 142, 34)
HSLhsl(88, 61%, 35%)
HSVhsv(88, 76%, 56%)
CMYKcmyk(35.2%, 0%, 76.1%, 44.3%)
CIE-LABlab(53.75, -34.23, 48.87)
CIE-LCHlch(53.75, 59.66, 125.01°)
OKLaboklab(58.97% -0.0968 0.1091)
OKLCHoklch(58.97% 0.146 131.6)
XYZxyz(14.3752, 21.7363, 4.9512)
Luminance0.2174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8E22 #54228E
analogous
#8E8A22 #5C8E22 #268E22
triadic
#5C8E22 #225C8E #8E225C
tetradic
#5C8E22 #228E8A #54228E #8E2226
square
#5C8E22 #228E8A #54228E #8E2226
split-complementary
#5C8E22 #22268E #8A228E
monochromatic
#1C2B0A #3C5D16 #5C8E22 #7CBF2E #9AD654

Accessibility & contrast

On white

3.93
#5C8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5C8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8E22
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8E22#FFFFFF#000000##000000
##5C8E221.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830B
Deuteranopia (green-blind)
#8E7F2D
Tritanopia (blue-blind)
#5E8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8e22;
/* rgb */ color: rgb(92, 142, 34);
/* oklch */ color: oklch(59.0% 0.146 131.6);
Tailwind
colors: {
  custom: {
    50: '#8eaf65',
    500: '#5c8e22',
    950: '#000000',
  },
}
SCSS
$custom: #5c8e22;
$custom-light: #8eaf65;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8e22",
  "rgb": {
    "r": 92,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 87.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58974,
    "c": 0.14592,
    "h": 131.6
  },
  "luminance": 0.21737
}

Semantic roles & 50–950 ramp

primary
#5C8E22
secondary
#8252BA
accent
#43E48E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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