#5A9629#5A9629

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

Color values

HEX#5A9629
RGBrgb(90, 150, 41)
HSLhsl(93, 57%, 37%)
HSVhsv(93, 73%, 59%)
CMYKcmyk(40%, 0%, 72.7%, 41.2%)
CIE-LABlab(56.23, -38.05, 48.69)
CIE-LCHlch(56.23, 61.79, 128.01°)
OKLaboklab(60.99% -0.1065 0.1099)
OKLCHoklch(60.99% 0.153 134.1)
XYZxyz(15.5227, 24.1457, 5.9401)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9629 #652996
analogous
#909629 #5A9629 #29962F
triadic
#5A9629 #295A96 #96295A
tetradic
#5A9629 #299096 #652996 #962F29
square
#5A9629 #299096 #652996 #962F29
split-complementary
#5A9629 #2F2996 #962990
monochromatic
#20360F #3D661C #5A9629 #77C636 #97D565

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A9629#FFFFFF#000000##000000
##5A96291.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)
#9C8A16
Deuteranopia (green-blind)
#948533
Tritanopia (blue-blind)
#599081
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a9629;
/* rgb */ color: rgb(90, 150, 41);
/* oklch */ color: oklch(61.0% 0.153 134.1);
Tailwind
colors: {
  custom: {
    50: '#8eb56a',
    500: '#5a9629',
    950: '#000000',
  },
}
SCSS
$custom: #5a9629;
$custom-light: #8eb56a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9629",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 41
  },
  "hsl": {
    "h": 93.028,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60993,
    "c": 0.15303,
    "h": 134.1
  },
  "luminance": 0.24146
}

Semantic roles & 50–950 ramp

primary
#5A9629
secondary
#9260BB
accent
#47E09C
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A9629

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

Preview Lab → · Contrast checker → · Palette generator →

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