#5D6612#5D6612

#5D6612 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.6% C 0.103 H 115.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5D6612
RGBrgb(93, 102, 18)
HSLhsl(66, 70%, 24%)
HSVhsv(66, 82%, 40%)
CMYKcmyk(8.8%, 0%, 82.4%, 60%)
CIE-LABlab(41.01, -14.73, 42.46)
CIE-LCHlch(41.01, 44.94, 109.14°)
OKLaboklab(48.65% -0.045 0.0928)
OKLCHoklch(48.65% 0.103 115.9)
XYZxyz(9.3750, 11.8737, 2.3701)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6612 #1B1266
analogous
#664512 #5D6612 #336612
triadic
#5D6612 #125D66 #66125D
tetradic
#5D6612 #126645 #1B1266 #661233
square
#5D6612 #126645 #1B1266 #661233
split-complementary
#5D6612 #123366 #451266
monochromatic
#181A05 #2E3209 #5D6612 #8C9A1B #BCCE24

Accessibility & contrast

On white

6.22
#5D6612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5D6612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6612
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6612#FFFFFF#000000##FFFFFF
##5D66121.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6D611A
Tritanopia (blue-blind)
#646057
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d6612;
/* rgb */ color: rgb(93, 102, 18);
/* oklch */ color: oklch(48.6% 0.103 115.9);
Tailwind
colors: {
  custom: {
    50: '#8e9158',
    500: '#5d6612',
    950: '#000000',
  },
}
SCSS
$custom: #5d6612;
$custom-light: #8e9158;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6612",
  "rgb": {
    "r": 93,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 66.429,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.48647,
    "c": 0.10314,
    "h": 115.9
  },
  "luminance": 0.11874
}

Semantic roles & 50–950 ramp

primary
#5D6612
secondary
#41369E
accent
#3BED4E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5D6612

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

Preview Lab → · Contrast checker → · Palette generator →

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