#5B661A#5B661A

#5B661A is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.5% C 0.099 H 117.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5B661A
RGBrgb(91, 102, 26)
HSLhsl(69, 59%, 25%)
HSVhsv(69, 75%, 40%)
CMYKcmyk(10.8%, 0%, 74.5%, 60%)
CIE-LABlab(40.90, -15.25, 39.30)
CIE-LCHlch(40.90, 42.15, 111.21°)
OKLaboklab(48.53% -0.0455 0.0877)
OKLCHoklch(48.53% 0.099 117.4)
XYZxyz(9.2524, 11.8016, 2.7676)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B661A #251A66
analogous
#664B1A #5B661A #35661A
triadic
#5B661A #1A5B66 #661A5B
tetradic
#5B661A #1A664B #251A66 #661A35
square
#5B661A #1A664B #251A66 #661A35
split-complementary
#5B661A #1A3566 #4B1A66
monochromatic
#161806 #2F350E #5B661A #879726 #B2C833

Accessibility & contrast

On white

6.25
#5B661A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5B661A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B661A
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B661A#FFFFFF#000000##FFFFFF
##5B661A1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600D
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#616057
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b661a;
/* rgb */ color: rgb(91, 102, 26);
/* oklch */ color: oklch(48.5% 0.099 117.4);
Tailwind
colors: {
  custom: {
    50: '#8c915c',
    500: '#5b661a',
    950: '#000000',
  },
}
SCSS
$custom: #5b661a;
$custom-light: #8c915c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b661a",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 68.684,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48528,
    "c": 0.09884,
    "h": 117.4
  },
  "luminance": 0.11801
}

Semantic roles & 50–950 ramp

primary
#5B661A
secondary
#4D409C
accent
#45E35C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B661A

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

Preview Lab → · Contrast checker → · Palette generator →

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