#5C9022#5C9022

#5C9022 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.5% C 0.149 H 132.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5C9022
RGBrgb(92, 144, 34)
HSLhsl(88, 62%, 35%)
HSVhsv(88, 76%, 56%)
CMYKcmyk(36.1%, 0%, 76.4%, 43.5%)
CIE-LABlab(54.38, -35.13, 49.49)
CIE-LCHlch(54.38, 60.69, 125.37°)
OKLaboklab(59.49% -0.0993 0.1104)
OKLCHoklch(59.49% 0.149 132)
XYZxyz(14.6755, 22.3367, 5.0512)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9022 #562290
analogous
#908D22 #5C9022 #259022
triadic
#5C9022 #225C90 #90225C
tetradic
#5C9022 #22908D #562290 #902225
square
#5C9022 #22908D #562290 #902225
split-complementary
#5C9022 #222590 #8D2290
monochromatic
#1D2D0B #3C5E16 #5C9022 #7CC22E #9AD755

Accessibility & contrast

On white

3.84
#5C9022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5C9022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9022
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9022#FFFFFF#000000##000000
##5C90221.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850A
Deuteranopia (green-blind)
#8F812D
Tritanopia (blue-blind)
#5D8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c9022;
/* rgb */ color: rgb(92, 144, 34);
/* oklch */ color: oklch(59.5% 0.149 132.0);
Tailwind
colors: {
  custom: {
    50: '#8fb166',
    500: '#5c9022',
    950: '#000000',
  },
}
SCSS
$custom: #5c9022;
$custom-light: #8fb166;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9022",
  "rgb": {
    "r": 92,
    "g": 144,
    "b": 34
  },
  "hsl": {
    "h": 88.364,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59494,
    "c": 0.14851,
    "h": 132
  },
  "luminance": 0.22337
}

Semantic roles & 50–950 ramp

primary
#5C9022
secondary
#8453BB
accent
#43E58F
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C9022

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

Preview Lab → · Contrast checker → · Palette generator →

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