#5A992A#5A992A

#5A992A is a mid, vivid yellow-green. Relative luminance 0.251; OKLCH L 61.8% C 0.156 H 134.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5A992A
RGBrgb(90, 153, 42)
HSLhsl(94, 57%, 38%)
HSVhsv(94, 73%, 60%)
CMYKcmyk(41.2%, 0%, 72.5%, 40%)
CIE-LABlab(57.19, -39.27, 49.28)
CIE-LCHlch(57.19, 63.01, 128.55°)
OKLaboklab(61.78% -0.1098 0.1112)
OKLCHoklch(61.78% 0.156 134.6)
XYZxyz(16.0253, 25.1225, 6.1948)
Luminance0.2512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A992A #692A99
analogous
#91992A #5A992A #2A9931
triadic
#5A992A #2A5A99 #992A5A
tetradic
#5A992A #2A9199 #692A99 #99312A
square
#5A992A #2A9199 #692A99 #99312A
split-complementary
#5A992A #312A99 #992A91
monochromatic
#223910 #3E691D #5A992A #76C838 #97D668

Accessibility & contrast

On white

3.49
#5A992A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#5A992A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A992A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A992A#FFFFFF#000000##000000
##5A992A1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D17
Deuteranopia (green-blind)
#968734
Tritanopia (blue-blind)
#599383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a992a;
/* rgb */ color: rgb(90, 153, 42);
/* oklch */ color: oklch(61.8% 0.156 134.6);
Tailwind
colors: {
  custom: {
    50: '#8eb76b',
    500: '#5a992a',
    950: '#000000',
  },
}
SCSS
$custom: #5a992a;
$custom-light: #8eb76b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a992a",
  "rgb": {
    "r": 90,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 94.054,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61781,
    "c": 0.15628,
    "h": 134.6
  },
  "luminance": 0.25123
}

Semantic roles & 50–950 ramp

primary
#5A992A
secondary
#9563BC
accent
#48E09E
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A992A

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

Preview Lab → · Contrast checker → · Palette generator →

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