#5C661B#5C661B

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

Color values

HEX#5C661B
RGBrgb(92, 102, 27)
HSLhsl(68, 58%, 25%)
HSVhsv(68, 74%, 40%)
CMYKcmyk(9.8%, 0%, 73.5%, 60%)
CIE-LABlab(40.99, -14.72, 39.00)
CIE-LCHlch(40.99, 41.68, 110.68°)
OKLaboklab(48.62% -0.044 0.0873)
OKLCHoklch(48.62% 0.098 116.8)
XYZxyz(9.3631, 11.8573, 2.8321)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C661B #251B66
analogous
#664A1B #5C661B #36661B
triadic
#5C661B #1B5C66 #661B5C
tetradic
#5C661B #1B664A #251B66 #661B36
square
#5C661B #1B664A #251B66 #661B36
split-complementary
#5C661B #1B3666 #4A1B66
monochromatic
#161806 #30360E #5C661B #889628 #B3C735

Accessibility & contrast

On white

6.23
#5C661B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C661B
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C661B#FFFFFF#000000##FFFFFF
##5C661B1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600F
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#626057
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c661b;
/* rgb */ color: rgb(92, 102, 27);
/* oklch */ color: oklch(48.6% 0.098 116.8);
Tailwind
colors: {
  custom: {
    50: '#8d915d',
    500: '#5c661b',
    950: '#000000',
  },
}
SCSS
$custom: #5c661b;
$custom-light: #8d915d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c661b",
  "rgb": {
    "r": 92,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 68,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48623,
    "c": 0.09773,
    "h": 116.8
  },
  "luminance": 0.11857
}

Semantic roles & 50–950 ramp

primary
#5C661B
secondary
#4D419B
accent
#46E15B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5C661B

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

Preview Lab → · Contrast checker → · Palette generator →

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