#5A992D#5A992D

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

Color values

HEX#5A992D
RGBrgb(90, 153, 45)
HSLhsl(95, 55%, 39%)
HSVhsv(95, 71%, 60%)
CMYKcmyk(41.2%, 0%, 70.6%, 40%)
CIE-LABlab(57.22, -39.04, 48.12)
CIE-LCHlch(57.22, 61.97, 129.06°)
OKLaboklab(61.81% -0.1089 0.1093)
OKLCHoklch(61.81% 0.154 134.9)
XYZxyz(16.0810, 25.1447, 6.4882)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A992D #6C2D99
analogous
#90992D #5A992D #2D9936
triadic
#5A992D #2D5A99 #992D5A
tetradic
#5A992D #2D9099 #6C2D99 #99362D
square
#5A992D #2D9099 #6C2D99 #99362D
split-complementary
#5A992D #362D99 #992D90
monochromatic
#223A11 #3E6A1F #5A992D #76C63D #98D46C

Accessibility & contrast

On white

3.48
#5A992D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#5A992D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A992D
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A992D#FFFFFF#000000##000000
##5A992D1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a992d;
/* rgb */ color: rgb(90, 153, 45);
/* oklch */ color: oklch(61.8% 0.154 134.9);
Tailwind
colors: {
  custom: {
    50: '#8eb76c',
    500: '#5a992d',
    950: '#000000',
  },
}
SCSS
$custom: #5a992d;
$custom-light: #8eb76c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a992d",
  "rgb": {
    "r": 90,
    "g": 153,
    "b": 45
  },
  "hsl": {
    "h": 95,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61806,
    "c": 0.15428,
    "h": 134.9
  },
  "luminance": 0.25146
}

Semantic roles & 50–950 ramp

primary
#5A992D
secondary
#9867BB
accent
#4ADEA0
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A992D

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

Preview Lab → · Contrast checker → · Palette generator →

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