#66541B#66541B

#66541B is a mid, moderate yellow. Relative luminance 0.092; OKLCH L 45.2% C 0.078 H 91.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#66541B
RGBrgb(102, 84, 27)
HSLhsl(46, 58%, 25%)
HSVhsv(46, 74%, 40%)
CMYKcmyk(0%, 17.6%, 73.5%, 60%)
CIE-LABlab(36.45, 0.52, 34.71)
CIE-LCHlch(36.45, 34.71, 89.14°)
OKLaboklab(45.24% -0.0016 0.0779)
OKLCHoklch(45.24% 0.078 91.2)
XYZxyz(8.8481, 9.2451, 2.3551)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66541B #1B2D66
analogous
#662E1B #66541B #52661B
triadic
#66541B #1B6654 #541B66
tetradic
#66541B #1B662E #1B2D66 #661B52
square
#66541B #1B662E #1B2D66 #661B52
split-complementary
#66541B #1B5266 #2E1B66
monochromatic
#181406 #362C0E #66541B #967C28 #C7A435

Accessibility & contrast

On white

7.37
#66541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#66541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66541B
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66541B#FFFFFF#000000##FFFFFF
##66541B1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5313
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#6F4D48
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #66541b;
/* rgb */ color: rgb(102, 84, 27);
/* oklch */ color: oklch(45.2% 0.078 91.2);
Tailwind
colors: {
  custom: {
    50: '#94835b',
    500: '#66541b',
    950: '#000000',
  },
}
SCSS
$custom: #66541b;
$custom-light: #94835b;
$custom-dark: #000000;
JSON
{
  "hex": "#66541b",
  "rgb": {
    "r": 102,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 45.6,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45241,
    "c": 0.07788,
    "h": 91.2
  },
  "luminance": 0.09245
}

Semantic roles & 50–950 ramp

primary
#66541B
secondary
#41579B
accent
#6CE146
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0A04
muted
#7E7C79

Preview Lab

Preview with #66541B

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

Preview Lab → · Contrast checker → · Palette generator →

#66541B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva