#5C9122#5C9122

#5C9122 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.8% C 0.150 H 132.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5C9122
RGBrgb(92, 145, 34)
HSLhsl(89, 62%, 35%)
HSVhsv(89, 77%, 57%)
CMYKcmyk(36.6%, 0%, 76.6%, 43.1%)
CIE-LABlab(54.70, -35.58, 49.79)
CIE-LCHlch(54.70, 61.20, 125.55°)
OKLaboklab(59.75% -0.1005 0.1111)
OKLCHoklch(59.75% 0.15 132.1)
XYZxyz(14.8276, 22.6410, 5.1020)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9122 #572291
analogous
#918F22 #5C9122 #249122
triadic
#5C9122 #225C91 #91225C
tetradic
#5C9122 #22918F #572291 #912224
square
#5C9122 #22918F #572291 #912224
split-complementary
#5C9122 #222491 #8F2291
monochromatic
#1D2E0B #3D5F16 #5C9122 #7BC32E #9AD756

Accessibility & contrast

On white

3.80
#5C9122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#5C9122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9122
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9122#FFFFFF#000000##000000
##5C91221.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978609
Deuteranopia (green-blind)
#90812D
Tritanopia (blue-blind)
#5D8B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5c9122;
/* rgb */ color: rgb(92, 145, 34);
/* oklch */ color: oklch(59.8% 0.150 132.1);
Tailwind
colors: {
  custom: {
    50: '#8fb166',
    500: '#5c9122',
    950: '#000000',
  },
}
SCSS
$custom: #5c9122;
$custom-light: #8fb166;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9122",
  "rgb": {
    "r": 92,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 88.649,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59753,
    "c": 0.1498,
    "h": 132.1
  },
  "luminance": 0.22642
}

Semantic roles & 50–950 ramp

primary
#5C9122
secondary
#8553BB
accent
#43E590
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C9122

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

Preview Lab → · Contrast checker → · Palette generator →

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