#5A9023#5A9023

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

Color values

HEX#5A9023
RGBrgb(90, 144, 35)
HSLhsl(90, 61%, 35%)
HSVhsv(90, 76%, 56%)
CMYKcmyk(37.5%, 0%, 75.7%, 43.5%)
CIE-LABlab(54.28, -35.82, 48.99)
CIE-LCHlch(54.28, 60.69, 126.17°)
OKLaboklab(59.39% -0.1009 0.1096)
OKLCHoklch(59.39% 0.149 132.6)
XYZxyz(14.4929, 22.2409, 5.1191)
Luminance0.2224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9023 #592390
analogous
#909023 #5A9023 #239023
triadic
#5A9023 #235A90 #90235A
tetradic
#5A9023 #239090 #592390 #902323
square
#5A9023 #239090 #592390 #902323
split-complementary
#5A9023 #232390 #902390
monochromatic
#1C2E0B #3B5F17 #5A9023 #79C12F #97D657

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A9023#FFFFFF#000000##000000
##5A90231.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)
#96850D
Deuteranopia (green-blind)
#8F802E
Tritanopia (blue-blind)
#5B8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a9023;
/* rgb */ color: rgb(90, 144, 35);
/* oklch */ color: oklch(59.4% 0.149 132.6);
Tailwind
colors: {
  custom: {
    50: '#8db166',
    500: '#5a9023',
    950: '#000000',
  },
}
SCSS
$custom: #5a9023;
$custom-light: #8db166;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9023",
  "rgb": {
    "r": 90,
    "g": 144,
    "b": 35
  },
  "hsl": {
    "h": 89.725,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59385,
    "c": 0.149,
    "h": 132.6
  },
  "luminance": 0.22242
}

Semantic roles & 50–950 ramp

primary
#5A9023
secondary
#8754BA
accent
#44E493
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5A9023

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

Preview Lab → · Contrast checker → · Palette generator →

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