#5D8921#5D8921

#5D8921 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.7% C 0.139 H 130.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5D8921
RGBrgb(93, 137, 33)
HSLhsl(85, 61%, 33%)
HSVhsv(85, 76%, 54%)
CMYKcmyk(32.1%, 0%, 75.9%, 46.3%)
CIE-LABlab(52.21, -31.61, 47.75)
CIE-LCHlch(52.21, 57.26, 123.51°)
OKLaboklab(57.73% -0.0899 0.1066)
OKLCHoklch(57.73% 0.139 130.1)
XYZxyz(13.7343, 20.3278, 4.6386)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8921 #4D2189
analogous
#898121 #5D8921 #298921
triadic
#5D8921 #215D89 #89215D
tetradic
#5D8921 #218981 #4D2189 #892129
square
#5D8921 #218981 #4D2189 #892129
split-complementary
#5D8921 #212989 #812189
monochromatic
#1A2609 #3C5815 #5D8921 #7EBA2D #9CD550

Accessibility & contrast

On white

4.15
#5D8921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5D8921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8921
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8921#FFFFFF#000000##000000
##5D89211.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0C
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#5F8375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d8921;
/* rgb */ color: rgb(93, 137, 33);
/* oklch */ color: oklch(57.7% 0.139 130.1);
Tailwind
colors: {
  custom: {
    50: '#8fab64',
    500: '#5d8921',
    950: '#000000',
  },
}
SCSS
$custom: #5d8921;
$custom-light: #8fab64;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8921",
  "rgb": {
    "r": 93,
    "g": 137,
    "b": 33
  },
  "hsl": {
    "h": 85.385,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57732,
    "c": 0.13945,
    "h": 130.1
  },
  "luminance": 0.20328
}

Semantic roles & 50–950 ramp

primary
#5D8921
secondary
#7B4EB8
accent
#44E488
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8921

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

Preview Lab → · Contrast checker → · Palette generator →

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