#5C9023#5C9023

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

Color values

HEX#5C9023
RGBrgb(92, 144, 35)
HSLhsl(89, 61%, 35%)
HSVhsv(89, 76%, 56%)
CMYKcmyk(36.1%, 0%, 75.7%, 43.5%)
CIE-LABlab(54.39, -35.07, 49.13)
CIE-LCHlch(54.39, 60.37, 125.52°)
OKLaboklab(59.5% -0.099 0.1099)
OKLCHoklch(59.5% 0.148 132)
XYZxyz(14.6901, 22.3426, 5.1283)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9023 #572390
analogous
#908E23 #5C9023 #259023
triadic
#5C9023 #235C90 #90235C
tetradic
#5C9023 #23908E #572390 #902325
square
#5C9023 #23908E #572390 #902325
split-complementary
#5C9023 #232590 #8E2390
monochromatic
#1D2E0B #3D5F17 #5C9023 #7BC12F #9AD657

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C9023#FFFFFF#000000##000000
##5C90231.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)
#96850C
Deuteranopia (green-blind)
#8F812E
Tritanopia (blue-blind)
#5D8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c9023;
/* rgb */ color: rgb(92, 144, 35);
/* oklch */ color: oklch(59.5% 0.148 132.0);
Tailwind
colors: {
  custom: {
    50: '#8fb166',
    500: '#5c9023',
    950: '#000000',
  },
}
SCSS
$custom: #5c9023;
$custom-light: #8fb166;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9023",
  "rgb": {
    "r": 92,
    "g": 144,
    "b": 35
  },
  "hsl": {
    "h": 88.624,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59501,
    "c": 0.14791,
    "h": 132
  },
  "luminance": 0.22343
}

Semantic roles & 50–950 ramp

primary
#5C9023
secondary
#8554BA
accent
#44E490
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C9023

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

Preview Lab → · Contrast checker → · Palette generator →

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