#5B660E#5B660E

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

Color values

HEX#5B660E
RGBrgb(91, 102, 14)
HSLhsl(68, 76%, 23%)
HSVhsv(68, 86%, 40%)
CMYKcmyk(10.8%, 0%, 86.3%, 60%)
CIE-LABlab(40.83, -15.84, 43.48)
CIE-LCHlch(40.83, 46.28, 110.02°)
OKLaboklab(48.45% -0.0482 0.0943)
OKLCHoklch(48.45% 0.106 117.1)
XYZxyz(9.1453, 11.7587, 2.2033)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B660E #190E66
analogous
#66450E #5B660E #2F660E
triadic
#5B660E #0E5B66 #660E5B
tetradic
#5B660E #0E6645 #190E66 #660E2F
square
#5B660E #0E6645 #190E66 #660E2F
split-complementary
#5B660E #0E2F66 #450E66
monochromatic
#181B04 #2B3007 #5B660E #8B9C15 #BBD21D

Accessibility & contrast

On white

6.27
#5B660E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5B660E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B660E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B660E#FFFFFF#000000##FFFFFF
##5B660E1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6D6117
Tritanopia (blue-blind)
#616056
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b660e;
/* rgb */ color: rgb(91, 102, 14);
/* oklch */ color: oklch(48.5% 0.106 117.1);
Tailwind
colors: {
  custom: {
    50: '#8c9157',
    500: '#5b660e',
    950: '#000000',
  },
}
SCSS
$custom: #5b660e;
$custom-light: #8c9157;
$custom-dark: #000000;
JSON
{
  "hex": "#5b660e",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 14
  },
  "hsl": {
    "h": 67.5,
    "s": 75.862,
    "l": 22.745
  },
  "oklch": {
    "l": 0.48451,
    "c": 0.10594,
    "h": 117.1
  },
  "luminance": 0.11759
}

Semantic roles & 50–950 ramp

primary
#5B660E
secondary
#3F319F
accent
#35F24D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B660E

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

Preview Lab → · Contrast checker → · Palette generator →

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