#5D962D#5D962D

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

Color values

HEX#5D962D
RGBrgb(93, 150, 45)
HSLhsl(93, 54%, 38%)
HSVhsv(93, 70%, 59%)
CMYKcmyk(38%, 0%, 70%, 41.2%)
CIE-LABlab(56.42, -36.67, 47.33)
CIE-LCHlch(56.42, 59.88, 127.77°)
OKLaboklab(61.19% -0.1027 0.1076)
OKLCHoklch(61.19% 0.149 133.7)
XYZxyz(15.8939, 24.3286, 6.3406)
Luminance0.2433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D962D #662D96
analogous
#91962D #5D962D #2D9631
triadic
#5D962D #2D5D96 #962D5D
tetradic
#5D962D #2D9196 #662D96 #96312D
square
#5D962D #2D9196 #662D96 #96312D
split-complementary
#5D962D #312D96 #962D91
monochromatic
#233811 #40671F #5D962D #7AC43C #9AD36B

Accessibility & contrast

On white

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

On black

5.87
#5D962D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D962D
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D962D#FFFFFF#000000##000000
##5D962D1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d962d;
/* rgb */ color: rgb(93, 150, 45);
/* oklch */ color: oklch(61.2% 0.149 133.7);
Tailwind
colors: {
  custom: {
    50: '#8fb56c',
    500: '#5d962d',
    950: '#000000',
  },
}
SCSS
$custom: #5d962d;
$custom-light: #8fb56c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d962d",
  "rgb": {
    "r": 93,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 92.571,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61192,
    "c": 0.1487,
    "h": 133.7
  },
  "luminance": 0.24329
}

Semantic roles & 50–950 ramp

primary
#5D962D
secondary
#9365B9
accent
#4BDD9A
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5D962D

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

Preview Lab → · Contrast checker → · Palette generator →

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