#5A992B#5A992B

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

Color values

HEX#5A992B
RGBrgb(90, 153, 43)
HSLhsl(94, 56%, 38%)
HSVhsv(94, 72%, 60%)
CMYKcmyk(41.2%, 0%, 71.9%, 40%)
CIE-LABlab(57.20, -39.20, 48.89)
CIE-LCHlch(57.20, 62.67, 128.72°)
OKLaboklab(61.79% -0.1095 0.1106)
OKLCHoklch(61.79% 0.156 134.7)
XYZxyz(16.0434, 25.1297, 6.2902)
Luminance0.2513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A992B #6A2B99
analogous
#91992B #5A992B #2B9933
triadic
#5A992B #2B5A99 #992B5A
tetradic
#5A992B #2B9199 #6A2B99 #99332B
square
#5A992B #2B9199 #6A2B99 #99332B
split-complementary
#5A992B #332B99 #992B91
monochromatic
#223910 #3E691E #5A992B #76C83A #97D569

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A992B#FFFFFF#000000##000000
##5A992B1.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)
#9F8D19
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#599383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a992b;
/* rgb */ color: rgb(90, 153, 43);
/* oklch */ color: oklch(61.8% 0.156 134.7);
Tailwind
colors: {
  custom: {
    50: '#8eb76b',
    500: '#5a992b',
    950: '#000000',
  },
}
SCSS
$custom: #5a992b;
$custom-light: #8eb76b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a992b",
  "rgb": {
    "r": 90,
    "g": 153,
    "b": 43
  },
  "hsl": {
    "h": 94.364,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61789,
    "c": 0.15562,
    "h": 134.7
  },
  "luminance": 0.25131
}

Semantic roles & 50–950 ramp

primary
#5A992B
secondary
#9664BC
accent
#48DF9F
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A992B

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

Preview Lab → · Contrast checker → · Palette generator →

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