#5B962F#5B962F

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

Color values

HEX#5B962F
RGBrgb(91, 150, 47)
HSLhsl(94, 52%, 39%)
HSVhsv(94, 69%, 59%)
CMYKcmyk(39.3%, 0%, 68.7%, 41.2%)
CIE-LABlab(56.33, -37.23, 46.38)
CIE-LCHlch(56.33, 59.47, 128.75°)
OKLaboklab(61.1% -0.1039 0.1059)
OKLCHoklch(61.1% 0.148 134.5)
XYZxyz(15.7335, 24.2413, 6.5388)
Luminance0.2424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B962F #6A2F96
analogous
#8E962F #5B962F #2F9636
triadic
#5B962F #2F5B96 #962F5B
tetradic
#5B962F #2F8E96 #6A2F96 #96362F
square
#5B962F #2F8E96 #6A2F96 #96362F
split-complementary
#5B962F #362F96 #962F8E
monochromatic
#223912 #3F6720 #5B962F #78C33F #98D26E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B962F#FFFFFF#000000##000000
##5B962F1.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)
#9C8A20
Deuteranopia (green-blind)
#948538
Tritanopia (blue-blind)
#5A9081
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b962f;
/* rgb */ color: rgb(91, 150, 47);
/* oklch */ color: oklch(61.1% 0.148 134.5);
Tailwind
colors: {
  custom: {
    50: '#8eb56d',
    500: '#5b962f',
    950: '#000000',
  },
}
SCSS
$custom: #5b962f;
$custom-light: #8eb56d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b962f",
  "rgb": {
    "r": 91,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 94.369,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61098,
    "c": 0.14834,
    "h": 134.5
  },
  "luminance": 0.24242
}

Semantic roles & 50–950 ramp

primary
#5B962F
secondary
#9668B9
accent
#4CDC9E
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B962F

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

Preview Lab → · Contrast checker → · Palette generator →

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