#5D6519#5D6519

#5D6519 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.4% C 0.098 H 115.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5D6519
RGBrgb(93, 101, 25)
HSLhsl(66, 60%, 25%)
HSVhsv(66, 75%, 40%)
CMYKcmyk(7.9%, 0%, 75.2%, 60.4%)
CIE-LABlab(40.74, -13.82, 39.61)
CIE-LCHlch(40.74, 41.95, 109.24°)
OKLaboklab(48.44% -0.0418 0.0881)
OKLCHoklch(48.44% 0.098 115.4)
XYZxyz(9.3436, 11.7049, 2.6866)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6519 #211965
analogous
#654719 #5D6519 #376519
triadic
#5D6519 #195D65 #65195D
tetradic
#5D6519 #196547 #211965 #651937
square
#5D6519 #196547 #211965 #651937
split-complementary
#5D6519 #193765 #471965
monochromatic
#171906 #30340D #5D6519 #8A9625 #B7C731

Accessibility & contrast

On white

6.29
#5D6519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5D6519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6519
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6519#FFFFFF#000000##FFFFFF
##5D65191.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600C
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#635F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d6519;
/* rgb */ color: rgb(93, 101, 25);
/* oklch */ color: oklch(48.4% 0.098 115.4);
Tailwind
colors: {
  custom: {
    50: '#8d905c',
    500: '#5d6519',
    950: '#000000',
  },
}
SCSS
$custom: #5d6519;
$custom-light: #8d905c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6519",
  "rgb": {
    "r": 93,
    "g": 101,
    "b": 25
  },
  "hsl": {
    "h": 66.316,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48442,
    "c": 0.09754,
    "h": 115.4
  },
  "luminance": 0.11705
}

Semantic roles & 50–950 ramp

primary
#5D6519
secondary
#493F9B
accent
#44E355
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5D6519

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

Preview Lab → · Contrast checker → · Palette generator →

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