#5D6916#5D6916

#5D6916 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.4% C 0.105 H 117.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5D6916
RGBrgb(93, 105, 22)
HSLhsl(69, 65%, 25%)
HSVhsv(69, 79%, 41%)
CMYKcmyk(11.4%, 0%, 79%, 58.8%)
CIE-LABlab(41.98, -16.18, 41.95)
CIE-LCHlch(41.98, 44.96, 111.09°)
OKLaboklab(49.43% -0.0486 0.0925)
OKLCHoklch(49.43% 0.105 117.7)
XYZxyz(9.7108, 12.4883, 2.6578)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6916 #221669
analogous
#694C16 #5D6916 #336916
triadic
#5D6916 #165D69 #69165D
tetradic
#5D6916 #16694C #221669 #691633
square
#5D6916 #16694C #221669 #691633
split-complementary
#5D6916 #163369 #4C1669
monochromatic
#161905 #30360B #5D6916 #8A9C21 #B7CE2B

Accessibility & contrast

On white

6.00
#5D6916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5D6916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6916
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6916#FFFFFF#000000##FFFFFF
##5D69161.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716304
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#636359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d6916;
/* rgb */ color: rgb(93, 105, 22);
/* oklch */ color: oklch(49.4% 0.105 117.7);
Tailwind
colors: {
  custom: {
    50: '#8e935b',
    500: '#5d6916',
    950: '#000000',
  },
}
SCSS
$custom: #5d6916;
$custom-light: #8e935b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6916",
  "rgb": {
    "r": 93,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 68.675,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.49431,
    "c": 0.10451,
    "h": 117.7
  },
  "luminance": 0.12488
}

Semantic roles & 50–950 ramp

primary
#5D6916
secondary
#4A3B9F
accent
#3FE858
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5D6916

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

Preview Lab → · Contrast checker → · Palette generator →

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