#5A962F#5A962F

#5A962F is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.0% C 0.149 H 134.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5A962F
RGBrgb(90, 150, 47)
HSLhsl(95, 52%, 39%)
HSVhsv(95, 69%, 59%)
CMYKcmyk(40%, 0%, 68.7%, 41.2%)
CIE-LABlab(56.28, -37.58, 46.32)
CIE-LCHlch(56.28, 59.64, 129.06°)
OKLaboklab(61.04% -0.1048 0.1057)
OKLCHoklch(61.04% 0.149 134.7)
XYZxyz(15.6356, 24.1908, 6.5342)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A962F #6B2F96
analogous
#8D962F #5A962F #2F9637
triadic
#5A962F #2F5A96 #962F5A
tetradic
#5A962F #2F8D96 #6B2F96 #96372F
square
#5A962F #2F8D96 #6B2F96 #96372F
split-complementary
#5A962F #372F96 #962F8D
monochromatic
#223912 #3E6720 #5A962F #76C33F #97D26E

Accessibility & contrast

On white

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

On black

5.84
#5A962F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A962F
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A962F#FFFFFF#000000##000000
##5A962F1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A21
Deuteranopia (green-blind)
#938538
Tritanopia (blue-blind)
#599081
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a962f;
/* rgb */ color: rgb(90, 150, 47);
/* oklch */ color: oklch(61.0% 0.149 134.7);
Tailwind
colors: {
  custom: {
    50: '#8db56d',
    500: '#5a962f',
    950: '#000000',
  },
}
SCSS
$custom: #5a962f;
$custom-light: #8db56d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a962f",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 94.951,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61044,
    "c": 0.14888,
    "h": 134.7
  },
  "luminance": 0.24192
}

Semantic roles & 50–950 ramp

primary
#5A962F
secondary
#9768B9
accent
#4CDCA0
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A962F

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

Preview Lab → · Contrast checker → · Palette generator →

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