#5B952A#5B952A

#5B952A is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.8% C 0.151 H 133.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5B952A
RGBrgb(91, 149, 42)
HSLhsl(93, 56%, 37%)
HSVhsv(93, 72%, 58%)
CMYKcmyk(38.9%, 0%, 71.8%, 41.6%)
CIE-LABlab(55.97, -37.18, 48.05)
CIE-LCHlch(55.97, 60.75, 127.73°)
OKLaboklab(60.8% -0.1042 0.1087)
OKLCHoklch(60.8% 0.151 133.8)
XYZxyz(15.4795, 23.8855, 5.9848)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B952A #642A95
analogous
#91952A #5B952A #2A952E
triadic
#5B952A #2A5B95 #952A5B
tetradic
#5B952A #2A9195 #642A95 #952E2A
square
#5B952A #2A9195 #642A95 #952E2A
split-complementary
#5B952A #2E2A95 #952A91
monochromatic
#21360F #3E651D #5B952A #78C537 #98D466

Accessibility & contrast

On white

3.63
#5B952A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5B952A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B952A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B952A#FFFFFF#000000##000000
##5B952A1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8919
Deuteranopia (green-blind)
#938434
Tritanopia (blue-blind)
#5B8F80
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b952a;
/* rgb */ color: rgb(91, 149, 42);
/* oklch */ color: oklch(60.8% 0.151 133.8);
Tailwind
colors: {
  custom: {
    50: '#8eb46a',
    500: '#5b952a',
    950: '#000000',
  },
}
SCSS
$custom: #5b952a;
$custom-light: #8eb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b952a",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 92.523,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60796,
    "c": 0.15052,
    "h": 133.8
  },
  "luminance": 0.23886
}

Semantic roles & 50–950 ramp

primary
#5B952A
secondary
#9161BA
accent
#48DF9A
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B952A

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

Preview Lab → · Contrast checker → · Palette generator →

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