#5D5D12#5D5D12

#5D5D12 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.4% C 0.093 H 109.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5D5D12
RGBrgb(93, 93, 18)
HSLhsl(60, 68%, 22%)
HSVhsv(60, 81%, 36%)
CMYKcmyk(0%, 0%, 80.6%, 63.5%)
CIE-LABlab(38.20, -9.69, 39.89)
CIE-LCHlch(38.20, 41.04, 103.65°)
OKLaboklab(46.39% -0.031 0.0874)
OKLCHoklch(46.39% 0.093 109.5)
XYZxyz(8.5381, 10.1998, 2.0912)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5D12 #12125D
analogous
#5D3812 #5D5D12 #385D12
triadic
#5D5D12 #125D5D #5D125D
tetradic
#5D5D12 #125D38 #12125D #5D1238
square
#5D5D12 #125D38 #12125D #5D1238
split-complementary
#5D5D12 #12385D #38125D
monochromatic
#1A1A05 #2A2A08 #5D5D12 #90901C #C4C426

Accessibility & contrast

On white

6.91
#5D5D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5D5D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5D12
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5D12#FFFFFF#000000##FFFFFF
##5D5D121.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655902
Deuteranopia (green-blind)
#665B18
Tritanopia (blue-blind)
#64574F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d5d12;
/* rgb */ color: rgb(93, 93, 18);
/* oklch */ color: oklch(46.4% 0.093 109.5);
Tailwind
colors: {
  custom: {
    50: '#8e8a57',
    500: '#5d5d12',
    950: '#000000',
  },
}
SCSS
$custom: #5d5d12;
$custom-light: #8e8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5d12",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.46391,
    "c": 0.09268,
    "h": 109.5
  },
  "luminance": 0.102
}

Semantic roles & 50–950 ramp

primary
#5D5D12
secondary
#353595
accent
#3DEA3D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5D5D12

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

Preview Lab → · Contrast checker → · Palette generator →

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