#5C8A22#5C8A22

#5C8A22 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.9% C 0.141 H 130.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5C8A22
RGBrgb(92, 138, 34)
HSLhsl(87, 60%, 34%)
HSVhsv(87, 75%, 54%)
CMYKcmyk(33.3%, 0%, 75.4%, 45.9%)
CIE-LABlab(52.47, -32.40, 47.62)
CIE-LCHlch(52.47, 57.60, 124.24°)
OKLaboklab(57.94% -0.0919 0.1065)
OKLCHoklch(57.94% 0.141 130.8)
XYZxyz(13.7907, 20.5673, 4.7563)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A22 #50228A
analogous
#8A8422 #5C8A22 #288A22
triadic
#5C8A22 #225C8A #8A225C
tetradic
#5C8A22 #228A84 #50228A #8A2228
square
#5C8A22 #228A84 #50228A #8A2228
split-complementary
#5C8A22 #22288A #84228A
monochromatic
#1B280A #3B5916 #5C8A22 #7DBB2E #9BD452

Accessibility & contrast

On white

4.11
#5C8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5C8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A22
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A22#FFFFFF#000000##000000
##5C8A221.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#5E8476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c8a22;
/* rgb */ color: rgb(92, 138, 34);
/* oklch */ color: oklch(57.9% 0.141 130.8);
Tailwind
colors: {
  custom: {
    50: '#8eac65',
    500: '#5c8a22',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a22;
$custom-light: #8eac65;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a22",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 86.538,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57936,
    "c": 0.14069,
    "h": 130.8
  },
  "luminance": 0.20568
}

Semantic roles & 50–950 ramp

primary
#5C8A22
secondary
#7E50B8
accent
#44E48B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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