#5C9028#5C9028

#5C9028 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.5% C 0.145 H 132.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5C9028
RGBrgb(92, 144, 40)
HSLhsl(90, 57%, 36%)
HSVhsv(90, 72%, 56%)
CMYKcmyk(36.1%, 0%, 72.2%, 43.5%)
CIE-LABlab(54.42, -34.73, 47.27)
CIE-LCHlch(54.42, 58.66, 126.31°)
OKLaboklab(59.54% -0.0977 0.1067)
OKLCHoklch(59.54% 0.145 132.5)
XYZxyz(14.7697, 22.3744, 5.5476)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9028 #5C2890
analogous
#909028 #5C9028 #289028
triadic
#5C9028 #285C90 #90285C
tetradic
#5C9028 #289090 #5C2890 #902828
square
#5C9028 #289090 #5C2890 #902828
split-complementary
#5C9028 #282890 #902890
monochromatic
#1F300D #3D601B #5C9028 #7BC035 #99D360

Accessibility & contrast

On white

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

On black

5.48
#5C9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9028
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9028#FFFFFF#000000##000000
##5C90281.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968517
Deuteranopia (green-blind)
#8F8131
Tritanopia (blue-blind)
#5D8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c9028;
/* rgb */ color: rgb(92, 144, 40);
/* oklch */ color: oklch(59.5% 0.145 132.5);
Tailwind
colors: {
  custom: {
    50: '#8eb169',
    500: '#5c9028',
    950: '#000000',
  },
}
SCSS
$custom: #5c9028;
$custom-light: #8eb169;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9028",
  "rgb": {
    "r": 92,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 90,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59538,
    "c": 0.14472,
    "h": 132.5
  },
  "luminance": 0.22375
}

Semantic roles & 50–950 ramp

primary
#5C9028
secondary
#8A5CB8
accent
#48E094
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5C9028

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

Preview Lab → · Contrast checker → · Palette generator →

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