#5A9028#5A9028

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

Color values

HEX#5A9028
RGBrgb(90, 144, 40)
HSLhsl(91, 57%, 36%)
HSVhsv(91, 72%, 56%)
CMYKcmyk(37.5%, 0%, 72.2%, 43.5%)
CIE-LABlab(54.32, -35.47, 47.13)
CIE-LCHlch(54.32, 58.99, 126.97°)
OKLaboklab(59.42% -0.0996 0.1065)
OKLCHoklch(59.42% 0.146 133.1)
XYZxyz(14.5725, 22.2727, 5.5383)
Luminance0.2227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9028 #5E2890
analogous
#8E9028 #5A9028 #28902A
triadic
#5A9028 #285A90 #90285A
tetradic
#5A9028 #288E90 #5E2890 #902A28
square
#5A9028 #288E90 #5E2890 #902A28
split-complementary
#5A9028 #2A2890 #90288E
monochromatic
#1E300D #3C601B #5A9028 #78C035 #97D360

Accessibility & contrast

On white

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

On black

5.45
#5A9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9028
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9028#FFFFFF#000000##000000
##5A90281.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a9028;
/* rgb */ color: rgb(90, 144, 40);
/* oklch */ color: oklch(59.4% 0.146 133.1);
Tailwind
colors: {
  custom: {
    50: '#8db169',
    500: '#5a9028',
    950: '#000000',
  },
}
SCSS
$custom: #5a9028;
$custom-light: #8db169;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9028",
  "rgb": {
    "r": 90,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 91.154,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59423,
    "c": 0.1458,
    "h": 133.1
  },
  "luminance": 0.22273
}

Semantic roles & 50–950 ramp

primary
#5A9028
secondary
#8C5CB8
accent
#48E097
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5A9028

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

Preview Lab → · Contrast checker → · Palette generator →

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