#5D962B#5D962B

#5D962B is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 61.2% C 0.150 H 133.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5D962B
RGBrgb(93, 150, 43)
HSLhsl(92, 55%, 38%)
HSVhsv(92, 71%, 59%)
CMYKcmyk(38%, 0%, 71.3%, 41.2%)
CIE-LABlab(56.40, -36.82, 48.12)
CIE-LCHlch(56.40, 60.59, 127.42°)
OKLaboklab(61.18% -0.1032 0.1089)
OKLCHoklch(61.18% 0.15 133.5)
XYZxyz(15.8563, 24.3135, 6.1425)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D962B #642B96
analogous
#92962B #5D962B #2B962F
triadic
#5D962B #2B5D96 #962B5D
tetradic
#5D962B #2B9296 #642B96 #962F2B
square
#5D962B #2B9296 #642B96 #962F2B
split-complementary
#5D962B #2F2B96 #962B92
monochromatic
#223710 #40661D #5D962B #7AC639 #9AD468

Accessibility & contrast

On white

3.58
#5D962B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#5D962B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D962B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D962B#FFFFFF#000000##000000
##5D962B1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A1A
Deuteranopia (green-blind)
#948635
Tritanopia (blue-blind)
#5D9081
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5d962b;
/* rgb */ color: rgb(93, 150, 43);
/* oklch */ color: oklch(61.2% 0.150 133.5);
Tailwind
colors: {
  custom: {
    50: '#8fb56b',
    500: '#5d962b',
    950: '#000000',
  },
}
SCSS
$custom: #5d962b;
$custom-light: #8fb56b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d962b",
  "rgb": {
    "r": 93,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 91.963,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61175,
    "c": 0.15009,
    "h": 133.5
  },
  "luminance": 0.24314
}

Semantic roles & 50–950 ramp

primary
#5D962B
secondary
#9163BA
accent
#49DF99
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5D962B

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

Preview Lab → · Contrast checker → · Palette generator →

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