#5A9627#5A9627

#5A9627 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.0% C 0.154 H 133.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5A9627
RGBrgb(90, 150, 39)
HSLhsl(92, 59%, 37%)
HSVhsv(92, 74%, 59%)
CMYKcmyk(40%, 0%, 74%, 41.2%)
CIE-LABlab(56.22, -38.19, 49.43)
CIE-LCHlch(56.22, 62.47, 127.69°)
OKLaboklab(60.98% -0.1071 0.1111)
OKLCHoklch(60.98% 0.154 133.9)
XYZxyz(15.4887, 24.1321, 5.7609)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9627 #632796
analogous
#929627 #5A9627 #27962B
triadic
#5A9627 #275A96 #96275A
tetradic
#5A9627 #279296 #632796 #962B27
square
#5A9627 #279296 #632796 #962B27
split-complementary
#5A9627 #2B2796 #962792
monochromatic
#20350E #3D651A #5A9627 #77C734 #97D661

Accessibility & contrast

On white

3.60
#5A9627 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5A9627 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9627
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9627#FFFFFF#000000##000000
##5A96271.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A12
Deuteranopia (green-blind)
#948532
Tritanopia (blue-blind)
#5A9080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a9627;
/* rgb */ color: rgb(90, 150, 39);
/* oklch */ color: oklch(61.0% 0.154 133.9);
Tailwind
colors: {
  custom: {
    50: '#8eb569',
    500: '#5a9627',
    950: '#000000',
  },
}
SCSS
$custom: #5a9627;
$custom-light: #8eb569;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9627",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 39
  },
  "hsl": {
    "h": 92.432,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60977,
    "c": 0.15431,
    "h": 133.9
  },
  "luminance": 0.24133
}

Semantic roles & 50–950 ramp

primary
#5A9627
secondary
#905DBC
accent
#46E29A
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A9627

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

Preview Lab → · Contrast checker → · Palette generator →

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