#5B660F#5B660F

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

Color values

HEX#5B660F
RGBrgb(91, 102, 15)
HSLhsl(68, 74%, 23%)
HSVhsv(68, 85%, 40%)
CMYKcmyk(10.8%, 0%, 85.3%, 60%)
CIE-LABlab(40.83, -15.80, 43.19)
CIE-LCHlch(40.83, 45.99, 110.10°)
OKLaboklab(48.46% -0.048 0.0939)
OKLCHoklch(48.46% 0.105 117.1)
XYZxyz(9.1522, 11.7615, 2.2399)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B660F #1A0F66
analogous
#66450F #5B660F #2F660F
triadic
#5B660F #0F5B66 #660F5B
tetradic
#5B660F #0F6645 #1A0F66 #660F2F
square
#5B660F #0F6645 #1A0F66 #660F2F
split-complementary
#5B660F #0F2F66 #450F66
monochromatic
#181B04 #2B3107 #5B660F #8B9B17 #BAD11F

Accessibility & contrast

On white

6.26
#5B660F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B660F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B660F#FFFFFF#000000##FFFFFF
##5B660F1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b660f;
/* rgb */ color: rgb(91, 102, 15);
/* oklch */ color: oklch(48.5% 0.105 117.1);
Tailwind
colors: {
  custom: {
    50: '#8c9157',
    500: '#5b660f',
    950: '#000000',
  },
}
SCSS
$custom: #5b660f;
$custom-light: #8c9157;
$custom-dark: #000000;
JSON
{
  "hex": "#5b660f",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 15
  },
  "hsl": {
    "h": 67.586,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.48456,
    "c": 0.10546,
    "h": 117.1
  },
  "luminance": 0.11761
}

Semantic roles & 50–950 ramp

primary
#5B660F
secondary
#40329F
accent
#37F14E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B660F

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

Preview Lab → · Contrast checker → · Palette generator →

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