#5A992F#5A992F

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

Color values

HEX#5A992F
RGBrgb(90, 153, 47)
HSLhsl(96, 53%, 39%)
HSVhsv(96, 69%, 60%)
CMYKcmyk(41.2%, 0%, 69.3%, 40%)
CIE-LABlab(57.23, -38.88, 47.32)
CIE-LCHlch(57.23, 61.25, 129.41°)
OKLaboklab(61.82% -0.1083 0.1079)
OKLCHoklch(61.82% 0.153 135.1)
XYZxyz(16.1204, 25.1605, 6.6958)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A992F #6E2F99
analogous
#8F992F #5A992F #2F9939
triadic
#5A992F #2F5A99 #992F5A
tetradic
#5A992F #2F8F99 #6E2F99 #99392F
square
#5A992F #2F8F99 #6E2F99 #99392F
split-complementary
#5A992F #392F99 #992F8F
monochromatic
#233B12 #3E6A21 #5A992F #76C541 #98D36F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A992F#FFFFFF#000000##000000
##5A992F1.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)
#9F8D20
Deuteranopia (green-blind)
#968738
Tritanopia (blue-blind)
#599384
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a992f;
/* rgb */ color: rgb(90, 153, 47);
/* oklch */ color: oklch(61.8% 0.153 135.1);
Tailwind
colors: {
  custom: {
    50: '#8eb76d',
    500: '#5a992f',
    950: '#000000',
  },
}
SCSS
$custom: #5a992f;
$custom-light: #8eb76d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a992f",
  "rgb": {
    "r": 90,
    "g": 153,
    "b": 47
  },
  "hsl": {
    "h": 95.66,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61823,
    "c": 0.15287,
    "h": 135.1
  },
  "luminance": 0.25161
}

Semantic roles & 50–950 ramp

primary
#5A992F
secondary
#9A69BA
accent
#4BDCA2
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A992F

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

Preview Lab → · Contrast checker → · Palette generator →

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