#5A9626#5A9626

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

Color values

HEX#5A9626
RGBrgb(90, 150, 38)
HSLhsl(92, 60%, 37%)
HSVhsv(92, 75%, 59%)
CMYKcmyk(40%, 0%, 74.7%, 41.2%)
CIE-LABlab(56.21, -38.26, 49.80)
CIE-LCHlch(56.21, 62.80, 127.53°)
OKLaboklab(60.97% -0.1073 0.1118)
OKLCHoklch(60.97% 0.155 133.8)
XYZxyz(15.4724, 24.1255, 5.6748)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9626 #622696
analogous
#929626 #5A9626 #26962A
triadic
#5A9626 #265A96 #96265A
tetradic
#5A9626 #269296 #622696 #962A26
square
#5A9626 #269296 #622696 #962A26
split-complementary
#5A9626 #2A2696 #962692
monochromatic
#1F340D #3D651A #5A9626 #77C732 #97D760

Accessibility & contrast

On white

3.61
#5A9626 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A9626#FFFFFF#000000##000000
##5A96261.003.615.835.83
#FFFFFF3.611.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a9626;
/* rgb */ color: rgb(90, 150, 38);
/* oklch */ color: oklch(61.0% 0.155 133.8);
Tailwind
colors: {
  custom: {
    50: '#8eb568',
    500: '#5a9626',
    950: '#000000',
  },
}
SCSS
$custom: #5a9626;
$custom-light: #8eb568;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9626",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 38
  },
  "hsl": {
    "h": 92.143,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6097,
    "c": 0.15494,
    "h": 133.8
  },
  "luminance": 0.24126
}

Semantic roles & 50–950 ramp

primary
#5A9626
secondary
#8F5CBC
accent
#45E39A
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A9626

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

Preview Lab → · Contrast checker → · Palette generator →

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