#5B962E#5B962E

#5B962E is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.1% C 0.149 H 134.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5B962E
RGBrgb(91, 150, 46)
HSLhsl(94, 53%, 38%)
HSVhsv(94, 69%, 59%)
CMYKcmyk(39.3%, 0%, 69.3%, 41.2%)
CIE-LABlab(56.32, -37.31, 46.79)
CIE-LCHlch(56.32, 59.84, 128.57°)
OKLaboklab(61.09% -0.1042 0.1066)
OKLCHoklch(61.09% 0.149 134.4)
XYZxyz(15.7136, 24.2333, 6.4338)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B962E #692E96
analogous
#8F962E #5B962E #2E9635
triadic
#5B962E #2E5B96 #962E5B
tetradic
#5B962E #2E8F96 #692E96 #96352E
square
#5B962E #2E8F96 #692E96 #96352E
split-complementary
#5B962E #352E96 #962E8F
monochromatic
#223811 #3F6720 #5B962E #78C43E #98D26C

Accessibility & contrast

On white

3.59
#5B962E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#5B962E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B962E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B962E#FFFFFF#000000##000000
##5B962E1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A1F
Deuteranopia (green-blind)
#948537
Tritanopia (blue-blind)
#5A9081
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b962e;
/* rgb */ color: rgb(91, 150, 46);
/* oklch */ color: oklch(61.1% 0.149 134.4);
Tailwind
colors: {
  custom: {
    50: '#8eb56d',
    500: '#5b962e',
    950: '#000000',
  },
}
SCSS
$custom: #5b962e;
$custom-light: #8eb56d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b962e",
  "rgb": {
    "r": 91,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 94.038,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61089,
    "c": 0.14906,
    "h": 134.4
  },
  "luminance": 0.24234
}

Semantic roles & 50–950 ramp

primary
#5B962E
secondary
#9567B9
accent
#4BDC9E
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B962E

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

Preview Lab → · Contrast checker → · Palette generator →

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