#5B992A#5B992A

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

Color values

HEX#5B992A
RGBrgb(91, 153, 42)
HSLhsl(94, 57%, 38%)
HSVhsv(94, 73%, 60%)
CMYKcmyk(40.5%, 0%, 72.5%, 40%)
CIE-LABlab(57.24, -38.92, 49.34)
CIE-LCHlch(57.24, 62.84, 128.27°)
OKLaboklab(61.83% -0.1089 0.1114)
OKLCHoklch(61.83% 0.156 134.4)
XYZxyz(16.1232, 25.1730, 6.1994)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B992A #682A99
analogous
#92992A #5B992A #2A9931
triadic
#5B992A #2A5B99 #992A5B
tetradic
#5B992A #2A9299 #682A99 #99312A
square
#5B992A #2A9299 #682A99 #99312A
split-complementary
#5B992A #312A99 #992A92
monochromatic
#223910 #3E691D #5B992A #78C838 #98D668

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B992A#FFFFFF#000000##000000
##5B992A1.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)
#9F8D17
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#5A9383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b992a;
/* rgb */ color: rgb(91, 153, 42);
/* oklch */ color: oklch(61.8% 0.156 134.4);
Tailwind
colors: {
  custom: {
    50: '#8fb76b',
    500: '#5b992a',
    950: '#000000',
  },
}
SCSS
$custom: #5b992a;
$custom-light: #8fb76b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b992a",
  "rgb": {
    "r": 91,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 93.514,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61835,
    "c": 0.15576,
    "h": 134.4
  },
  "luminance": 0.25174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B992A

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

Preview Lab → · Contrast checker → · Palette generator →

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