#5A9F23#5A9F23

#5A9F23 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.3% C 0.168 H 134.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5A9F23
RGBrgb(90, 159, 35)
HSLhsl(93, 64%, 38%)
HSVhsv(93, 78%, 62%)
CMYKcmyk(43.4%, 0%, 78%, 37.6%)
CIE-LABlab(59.06, -42.27, 53.61)
CIE-LCHlch(59.06, 68.27, 128.25°)
OKLaboklab(63.29% -0.1184 0.1193)
OKLCHoklch(63.29% 0.168 134.8)
XYZxyz(16.9176, 27.0903, 5.9273)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9F23 #68239F
analogous
#989F23 #5A9F23 #239F2A
triadic
#5A9F23 #235A9F #9F235A
tetradic
#5A9F23 #23989F #68239F #9F2A23
square
#5A9F23 #23989F #68239F #9F2A23
split-complementary
#5A9F23 #2A239F #9F2398
monochromatic
#213B0D #3E6D18 #5A9F23 #76D12E #97DC60

Accessibility & contrast

On white

3.27
#5A9F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#5A9F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9F23
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9F23#FFFFFF#000000##000000
##5A9F231.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59202
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#599988
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a9f23;
/* rgb */ color: rgb(90, 159, 35);
/* oklch */ color: oklch(63.3% 0.168 134.8);
Tailwind
colors: {
  custom: {
    50: '#8fbc68',
    500: '#5a9f23',
    950: '#000000',
  },
}
SCSS
$custom: #5a9f23;
$custom-light: #8fbc68;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9f23",
  "rgb": {
    "r": 90,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 93.387,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63294,
    "c": 0.16803,
    "h": 134.8
  },
  "luminance": 0.27091
}

Semantic roles & 50–950 ramp

primary
#5A9F23
secondary
#955DC1
accent
#41E79D
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5A9F23

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

Preview Lab → · Contrast checker → · Palette generator →

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