#5D6712#5D6712

#5D6712 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 48.9% C 0.104 H 116.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5D6712
RGBrgb(93, 103, 18)
HSLhsl(67, 70%, 24%)
HSVhsv(67, 83%, 40%)
CMYKcmyk(9.7%, 0%, 82.5%, 59.6%)
CIE-LABlab(41.33, -15.28, 42.74)
CIE-LCHlch(41.33, 45.39, 109.67°)
OKLaboklab(48.9% -0.0465 0.0934)
OKLCHoklch(48.9% 0.104 116.5)
XYZxyz(9.4739, 12.0715, 2.4031)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6712 #1C1267
analogous
#674612 #5D6712 #326712
triadic
#5D6712 #125D67 #67125D
tetradic
#5D6712 #126746 #1C1267 #671232
square
#5D6712 #126746 #1C1267 #671232
split-complementary
#5D6712 #123267 #461267
monochromatic
#181A05 #2E3309 #5D6712 #8C9B1B #BBCF24

Accessibility & contrast

On white

6.15
#5D6712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5D6712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6712
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6712#FFFFFF#000000##FFFFFF
##5D67121.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6E621A
Tritanopia (blue-blind)
#636157
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d6712;
/* rgb */ color: rgb(93, 103, 18);
/* oklch */ color: oklch(48.9% 0.104 116.5);
Tailwind
colors: {
  custom: {
    50: '#8e9258',
    500: '#5d6712',
    950: '#000000',
  },
}
SCSS
$custom: #5d6712;
$custom-light: #8e9258;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6712",
  "rgb": {
    "r": 93,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 67.059,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.489,
    "c": 0.10435,
    "h": 116.5
  },
  "luminance": 0.12071
}

Semantic roles & 50–950 ramp

primary
#5D6712
secondary
#42369F
accent
#3BED50
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0D04
muted
#7D7D79

Preview Lab

Preview with #5D6712

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

Preview Lab → · Contrast checker → · Palette generator →

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