#5A9E23#5A9E23

#5A9E23 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.0% C 0.167 H 134.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5A9E23
RGBrgb(90, 158, 35)
HSLhsl(93, 64%, 38%)
HSVhsv(93, 78%, 62%)
CMYKcmyk(43%, 0%, 77.8%, 38%)
CIE-LABlab(58.74, -41.85, 53.31)
CIE-LCHlch(58.74, 67.77, 128.14°)
OKLaboklab(63.03% -0.1172 0.1186)
OKLCHoklch(63.03% 0.167 134.7)
XYZxyz(16.7463, 26.7478, 5.8702)
Luminance0.2675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9E23 #67239E
analogous
#979E23 #5A9E23 #239E2A
triadic
#5A9E23 #235A9E #9E235A
tetradic
#5A9E23 #23979E #67239E #9E2A23
square
#5A9E23 #23979E #67239E #9E2A23
split-complementary
#5A9E23 #2A239E #9E2397
monochromatic
#213A0D #3D6C18 #5A9E23 #77D02E #97DC60

Accessibility & contrast

On white

3.31
#5A9E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#5A9E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9E23
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9E23#FFFFFF#000000##000000
##5A9E231.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49103
Deuteranopia (green-blind)
#9B8B30
Tritanopia (blue-blind)
#599887
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a9e23;
/* rgb */ color: rgb(90, 158, 35);
/* oklch */ color: oklch(63.0% 0.167 134.7);
Tailwind
colors: {
  custom: {
    50: '#8fbb68',
    500: '#5a9e23',
    950: '#000000',
  },
}
SCSS
$custom: #5a9e23;
$custom-light: #8fbb68;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9e23",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 35
  },
  "hsl": {
    "h": 93.171,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63033,
    "c": 0.16679,
    "h": 134.7
  },
  "luminance": 0.26749
}

Semantic roles & 50–950 ramp

primary
#5A9E23
secondary
#945CC1
accent
#41E79D
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5A9E23

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

Preview Lab → · Contrast checker → · Palette generator →

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