#5A9739#5A9739

#5A9739 is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.4% C 0.142 H 136.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5A9739
RGBrgb(90, 151, 57)
HSLhsl(99, 45%, 41%)
HSVhsv(99, 62%, 59%)
CMYKcmyk(40.4%, 0%, 62.3%, 40.8%)
CIE-LABlab(56.69, -37.10, 42.35)
CIE-LCHlch(56.69, 56.30, 131.22°)
OKLaboklab(61.41% -0.1027 0.0986)
OKLCHoklch(61.41% 0.142 136.2)
XYZxyz(16.0212, 24.6014, 7.7745)
Luminance0.2460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9739 #763997
analogous
#899739 #5A9739 #399747
triadic
#5A9739 #395A97 #97395A
tetradic
#5A9739 #398997 #763997 #974739
square
#5A9739 #398997 #763997 #974739
split-complementary
#5A9739 #473997 #973989
monochromatic
#253E17 #406B28 #5A9739 #76BD50 #99CE7D

Accessibility & contrast

On white

3.55
#5A9739 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#5A9739 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9739
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9739#FFFFFF#000000##000000
##5A97391.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B2E
Deuteranopia (green-blind)
#948640
Tritanopia (blue-blind)
#589283
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a9739;
/* rgb */ color: rgb(90, 151, 57);
/* oklch */ color: oklch(61.4% 0.142 136.2);
Tailwind
colors: {
  custom: {
    50: '#8db673',
    500: '#5a9739',
    950: '#000000',
  },
}
SCSS
$custom: #5a9739;
$custom-light: #8db673;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9739",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 57
  },
  "hsl": {
    "h": 98.936,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61405,
    "c": 0.14236,
    "h": 136.2
  },
  "luminance": 0.24602
}

Semantic roles & 50–950 ramp

primary
#5A9739
secondary
#A075B7
accent
#53D5A7
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0D1108
muted
#7D807B

Preview Lab

Preview with #5A9739

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

Preview Lab → · Contrast checker → · Palette generator →

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