#5D6915#5D6915

#5D6915 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.01:1 contrast (WCAG AA passes).

Color values

HEX#5D6915
RGBrgb(93, 105, 21)
HSLhsl(69, 67%, 25%)
HSVhsv(69, 80%, 41%)
CMYKcmyk(11.4%, 0%, 80%, 58.8%)
CIE-LABlab(41.98, -16.23, 42.31)
CIE-LCHlch(41.98, 45.31, 110.99°)
OKLaboklab(49.43% -0.0488 0.0931)
OKLCHoklch(49.43% 0.105 117.7)
XYZxyz(9.7014, 12.4846, 2.6080)
Luminance0.1248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6915 #211569
analogous
#694B15 #5D6915 #336915
triadic
#5D6915 #155D69 #69155D
tetradic
#5D6915 #15694B #211569 #691533
square
#5D6915 #15694B #211569 #691533
split-complementary
#5D6915 #153369 #4B1569
monochromatic
#171A05 #30360B #5D6915 #8A9C1F #B7CF29

Accessibility & contrast

On white

6.01
#5D6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D6915
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6915#FFFFFF#000000##FFFFFF
##5D69151.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d6915;
/* rgb */ color: rgb(93, 105, 21);
/* oklch */ color: oklch(49.4% 0.105 117.7);
Tailwind
colors: {
  custom: {
    50: '#8e935a',
    500: '#5d6915',
    950: '#000000',
  },
}
SCSS
$custom: #5d6915;
$custom-light: #8e935a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6915",
  "rgb": {
    "r": 93,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 68.571,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.49425,
    "c": 0.10511,
    "h": 117.7
  },
  "luminance": 0.12484
}

Semantic roles & 50–950 ramp

primary
#5D6915
secondary
#493AA0
accent
#3EEA57
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5D6915

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

Preview Lab → · Contrast checker → · Palette generator →

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