#5D8916#5D8916

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

Color values

HEX#5D8916
RGBrgb(93, 137, 22)
HSLhsl(83, 72%, 31%)
HSVhsv(83, 84%, 54%)
CMYKcmyk(32.1%, 0%, 83.9%, 46.3%)
CIE-LABlab(52.15, -32.19, 51.26)
CIE-LCHlch(52.15, 60.53, 122.13°)
OKLaboklab(57.67% -0.0922 0.1122)
OKLCHoklch(57.67% 0.145 129.4)
XYZxyz(13.6046, 20.2760, 3.9558)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8916 #421689
analogous
#897B16 #5D8916 #238916
triadic
#5D8916 #165D89 #89165D
tetradic
#5D8916 #16897B #421689 #891623
square
#5D8916 #16897B #421689 #891623
split-complementary
#5D8916 #162389 #7B1689
monochromatic
#152005 #39540E #5D8916 #81BE1E #A0DF3A

Accessibility & contrast

On white

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

On black

5.06
#5D8916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8916
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8916#FFFFFF#000000##000000
##5D89161.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#608374
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d8916;
/* rgb */ color: rgb(93, 137, 22);
/* oklch */ color: oklch(57.7% 0.145 129.4);
Tailwind
colors: {
  custom: {
    50: '#8fab5f',
    500: '#5d8916',
    950: '#000000',
  },
}
SCSS
$custom: #5d8916;
$custom-light: #8fab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8916",
  "rgb": {
    "r": 93,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 82.957,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57666,
    "c": 0.14525,
    "h": 129.4
  },
  "luminance": 0.20276
}

Semantic roles & 50–950 ramp

primary
#5D8916
secondary
#6E3EBD
accent
#39EF7F
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5D8916

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

Preview Lab → · Contrast checker → · Palette generator →

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