#5C9018#5C9018

#5C9018 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.4% C 0.154 H 131.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5C9018
RGBrgb(92, 144, 24)
HSLhsl(86, 71%, 33%)
HSVhsv(86, 83%, 56%)
CMYKcmyk(36.1%, 0%, 83.3%, 43.5%)
CIE-LABlab(54.33, -35.67, 52.63)
CIE-LCHlch(54.33, 63.58, 124.12°)
OKLaboklab(59.43% -0.1014 0.1155)
OKLCHoklch(59.43% 0.154 131.3)
XYZxyz(14.5516, 22.2872, 4.3991)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9018 #4C1890
analogous
#908818 #5C9018 #209018
triadic
#5C9018 #185C90 #90185C
tetradic
#5C9018 #189088 #4C1890 #901820
square
#5C9018 #189088 #4C1890 #901820
split-complementary
#5C9018 #182090 #881890
monochromatic
#192707 #3A5C0F #5C9018 #7EC421 #9CE043

Accessibility & contrast

On white

3.85
#5C9018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#5C9018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9018
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9018#FFFFFF#000000##000000
##5C90181.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#908126
Tritanopia (blue-blind)
#5E8A7A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c9018;
/* rgb */ color: rgb(92, 144, 24);
/* oklch */ color: oklch(59.4% 0.154 131.3);
Tailwind
colors: {
  custom: {
    50: '#8fb161',
    500: '#5c9018',
    950: '#000000',
  },
}
SCSS
$custom: #5c9018;
$custom-light: #8fb161;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9018",
  "rgb": {
    "r": 92,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 86,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59434,
    "c": 0.15367,
    "h": 131.3
  },
  "luminance": 0.22288
}

Semantic roles & 50–950 ramp

primary
#5C9018
secondary
#7A43C0
accent
#3AEE88
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C9018

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

Preview Lab → · Contrast checker → · Palette generator →

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