#5A9B23#5A9B23

#5A9B23 is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.3% C 0.163 H 134.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5A9B23
RGBrgb(90, 155, 35)
HSLhsl(93, 63%, 37%)
HSVhsv(93, 77%, 61%)
CMYKcmyk(41.9%, 0%, 77.4%, 39.2%)
CIE-LABlab(57.79, -40.59, 52.39)
CIE-LCHlch(57.79, 66.28, 127.76°)
OKLaboklab(62.25% -0.1138 0.1167)
OKLCHoklch(62.25% 0.163 134.3)
XYZxyz(16.2409, 25.7368, 5.7017)
Luminance0.2574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9B23 #64239B
analogous
#969B23 #5A9B23 #239B28
triadic
#5A9B23 #235A9B #9B235A
tetradic
#5A9B23 #23969B #64239B #9B2823
square
#5A9B23 #23969B #64239B #9B2823
split-complementary
#5A9B23 #28239B #9B2396
monochromatic
#20370C #3D6918 #5A9B23 #77CD2E #97DB5E

Accessibility & contrast

On white

3.42
#5A9B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#5A9B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9B23
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9B23#FFFFFF#000000##000000
##5A9B231.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E05
Deuteranopia (green-blind)
#988930
Tritanopia (blue-blind)
#599584
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a9b23;
/* rgb */ color: rgb(90, 155, 35);
/* oklch */ color: oklch(62.3% 0.163 134.3);
Tailwind
colors: {
  custom: {
    50: '#8eb967',
    500: '#5a9b23',
    950: '#000000',
  },
}
SCSS
$custom: #5a9b23;
$custom-light: #8eb967;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9b23",
  "rgb": {
    "r": 90,
    "g": 155,
    "b": 35
  },
  "hsl": {
    "h": 92.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62252,
    "c": 0.16304,
    "h": 134.3
  },
  "luminance": 0.25738
}

Semantic roles & 50–950 ramp

primary
#5A9B23
secondary
#915ABF
accent
#42E69B
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A9B23

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

Preview Lab → · Contrast checker → · Palette generator →

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