#5C8E18#5C8E18

#5C8E18 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.9% C 0.151 H 130.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5C8E18
RGBrgb(92, 142, 24)
HSLhsl(85, 71%, 33%)
HSVhsv(85, 83%, 56%)
CMYKcmyk(35.2%, 0%, 83.1%, 44.3%)
CIE-LABlab(53.69, -34.77, 52.06)
CIE-LCHlch(53.69, 62.60, 123.74°)
OKLaboklab(58.91% -0.099 0.1142)
OKLCHoklch(58.91% 0.151 130.9)
XYZxyz(14.2514, 21.6867, 4.2990)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8E18 #4A188E
analogous
#8E8518 #5C8E18 #218E18
triadic
#5C8E18 #185C8E #8E185C
tetradic
#5C8E18 #188E85 #4A188E #8E1821
square
#5C8E18 #188E85 #4A188E #8E1821
split-complementary
#5C8E18 #18218E #85188E
monochromatic
#182506 #3A5A0F #5C8E18 #7EC221 #9CDF41

Accessibility & contrast

On white

3.93
#5C8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5C8E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8E18
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8E18#FFFFFF#000000##000000
##5C8E181.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8E7F26
Tritanopia (blue-blind)
#5E8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8e18;
/* rgb */ color: rgb(92, 142, 24);
/* oklch */ color: oklch(58.9% 0.151 130.9);
Tailwind
colors: {
  custom: {
    50: '#8faf61',
    500: '#5c8e18',
    950: '#000000',
  },
}
SCSS
$custom: #5c8e18;
$custom-light: #8faf61;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8e18",
  "rgb": {
    "r": 92,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 85.424,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58914,
    "c": 0.15117,
    "h": 130.9
  },
  "luminance": 0.21687
}

Semantic roles & 50–950 ramp

primary
#5C8E18
secondary
#7742C0
accent
#3AEE86
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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