#5C661A#5C661A

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

Color values

HEX#5C661A
RGBrgb(92, 102, 26)
HSLhsl(68, 59%, 25%)
HSVhsv(68, 75%, 40%)
CMYKcmyk(9.8%, 0%, 74.5%, 60%)
CIE-LABlab(40.98, -14.78, 39.41)
CIE-LCHlch(40.98, 42.09, 110.56°)
OKLaboklab(48.62% -0.0443 0.0879)
OKLCHoklch(48.62% 0.098 116.7)
XYZxyz(9.3517, 11.8528, 2.7722)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C661A #241A66
analogous
#664A1A #5C661A #36661A
triadic
#5C661A #1A5C66 #661A5C
tetradic
#5C661A #1A664A #241A66 #661A36
square
#5C661A #1A664A #241A66 #661A36
split-complementary
#5C661A #1A3666 #4A1A66
monochromatic
#161806 #30350E #5C661A #889726 #B4C833

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C661A#FFFFFF#000000##FFFFFF
##5C661A1.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)
#6D600D
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#626057
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c661a;
/* rgb */ color: rgb(92, 102, 26);
/* oklch */ color: oklch(48.6% 0.098 116.7);
Tailwind
colors: {
  custom: {
    50: '#8d915c',
    500: '#5c661a',
    950: '#000000',
  },
}
SCSS
$custom: #5c661a;
$custom-light: #8d915c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c661a",
  "rgb": {
    "r": 92,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 67.895,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48615,
    "c": 0.09845,
    "h": 116.7
  },
  "luminance": 0.11853
}

Semantic roles & 50–950 ramp

primary
#5C661A
secondary
#4C409C
accent
#45E35A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5C661A

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

Preview Lab → · Contrast checker → · Palette generator →

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