#5C8B22#5C8B22

#5C8B22 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.2% C 0.142 H 131.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5C8B22
RGBrgb(92, 139, 34)
HSLhsl(87, 61%, 34%)
HSVhsv(87, 76%, 55%)
CMYKcmyk(33.8%, 0%, 75.5%, 45.5%)
CIE-LABlab(52.79, -32.86, 47.93)
CIE-LCHlch(52.79, 58.12, 124.44°)
OKLaboklab(58.19% -0.0931 0.1072)
OKLCHoklch(58.19% 0.142 131)
XYZxyz(13.9349, 20.8555, 4.8044)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8B22 #51228B
analogous
#8B8622 #5C8B22 #288B22
triadic
#5C8B22 #225C8B #8B225C
tetradic
#5C8B22 #228B86 #51228B #8B2228
square
#5C8B22 #228B86 #51228B #8B2228
split-complementary
#5C8B22 #22288B #86228B
monochromatic
#1B290A #3B5A16 #5C8B22 #7DBC2E #9BD553

Accessibility & contrast

On white

4.06
#5C8B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5C8B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8B22
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8B22#FFFFFF#000000##000000
##5C8B221.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800D
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#5E8577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8b22;
/* rgb */ color: rgb(92, 139, 34);
/* oklch */ color: oklch(58.2% 0.142 131.0);
Tailwind
colors: {
  custom: {
    50: '#8ead65',
    500: '#5c8b22',
    950: '#000000',
  },
}
SCSS
$custom: #5c8b22;
$custom-light: #8ead65;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8b22",
  "rgb": {
    "r": 92,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 86.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58195,
    "c": 0.142,
    "h": 131
  },
  "luminance": 0.20856
}

Semantic roles & 50–950 ramp

primary
#5C8B22
secondary
#7F50B8
accent
#44E48C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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