#5D661A#5D661A

#5D661A is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.7% C 0.098 H 116.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5D661A
RGBrgb(93, 102, 26)
HSLhsl(67, 59%, 25%)
HSVhsv(67, 75%, 40%)
CMYKcmyk(8.8%, 0%, 74.5%, 60%)
CIE-LABlab(41.06, -14.31, 39.52)
CIE-LCHlch(41.06, 42.03, 109.91°)
OKLaboklab(48.7% -0.043 0.0881)
OKLCHoklch(48.7% 0.098 116)
XYZxyz(9.4523, 11.9046, 2.7770)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D661A #231A66
analogous
#66491A #5D661A #37661A
triadic
#5D661A #1A5D66 #661A5D
tetradic
#5D661A #1A6649 #231A66 #661A37
square
#5D661A #1A6649 #231A66 #661A37
split-complementary
#5D661A #1A3766 #491A66
monochromatic
#161806 #31350E #5D661A #899726 #B6C833

Accessibility & contrast

On white

6.21
#5D661A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5D661A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D661A
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D661A#FFFFFF#000000##FFFFFF
##5D661A1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600D
Deuteranopia (green-blind)
#6D6120
Tritanopia (blue-blind)
#636057
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d661a;
/* rgb */ color: rgb(93, 102, 26);
/* oklch */ color: oklch(48.7% 0.098 116.0);
Tailwind
colors: {
  custom: {
    50: '#8d915c',
    500: '#5d661a',
    950: '#000000',
  },
}
SCSS
$custom: #5d661a;
$custom-light: #8d915c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d661a",
  "rgb": {
    "r": 93,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 67.105,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48702,
    "c": 0.09808,
    "h": 116
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

primary
#5D661A
secondary
#4B409C
accent
#45E358
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5D661A

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

Preview Lab → · Contrast checker → · Palette generator →

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