#5D661B#5D661B

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

Color values

HEX#5D661B
RGBrgb(93, 102, 27)
HSLhsl(67, 58%, 25%)
HSVhsv(67, 74%, 40%)
CMYKcmyk(8.8%, 0%, 73.5%, 60%)
CIE-LABlab(41.07, -14.25, 39.11)
CIE-LCHlch(41.07, 41.62, 110.02°)
OKLaboklab(48.71% -0.0428 0.0875)
OKLCHoklch(48.71% 0.097 116.1)
XYZxyz(9.4636, 11.9092, 2.8369)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D661B #241B66
analogous
#66491B #5D661B #37661B
triadic
#5D661B #1B5D66 #661B5D
tetradic
#5D661B #1B6649 #241B66 #661B37
square
#5D661B #1B6649 #241B66 #661B37
split-complementary
#5D661B #1B3766 #491B66
monochromatic
#161806 #31360E #5D661B #899628 #B5C735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D661B#FFFFFF#000000##FFFFFF
##5D661B1.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)
#6D600F
Deuteranopia (green-blind)
#6D6121
Tritanopia (blue-blind)
#636057
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d661b;
/* rgb */ color: rgb(93, 102, 27);
/* oklch */ color: oklch(48.7% 0.097 116.1);
Tailwind
colors: {
  custom: {
    50: '#8d915d',
    500: '#5d661b',
    950: '#000000',
  },
}
SCSS
$custom: #5d661b;
$custom-light: #8d915d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d661b",
  "rgb": {
    "r": 93,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 67.2,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4871,
    "c": 0.09736,
    "h": 116.1
  },
  "luminance": 0.11909
}

Semantic roles & 50–950 ramp

primary
#5D661B
secondary
#4C419B
accent
#46E159
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5D661B

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

Preview Lab → · Contrast checker → · Palette generator →

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