#66531A#66531A

#66531A is a mid, moderate yellow. Relative luminance 0.091; OKLCH L 45.0% C 0.078 H 90.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#66531A
RGBrgb(102, 83, 26)
HSLhsl(45, 59%, 25%)
HSVhsv(45, 75%, 40%)
CMYKcmyk(0%, 18.6%, 74.5%, 60%)
CIE-LABlab(36.15, 1.07, 34.87)
CIE-LCHlch(36.15, 34.89, 88.25°)
OKLaboklab(45% -0.0002 0.078)
OKLCHoklch(45% 0.078 90.1)
XYZxyz(8.7597, 9.0864, 2.2695)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66531A #1A2D66
analogous
#662D1A #66531A #53661A
triadic
#66531A #1A6653 #531A66
tetradic
#66531A #1A662D #1A2D66 #661A53
square
#66531A #1A662D #1A2D66 #661A53
split-complementary
#66531A #1A5366 #2D1A66
monochromatic
#181406 #352B0E #66531A #977B26 #C8A233

Accessibility & contrast

On white

7.45
#66531A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#66531A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66531A
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66531A#FFFFFF#000000##FFFFFF
##66531A1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5212
Deuteranopia (green-blind)
#62571D
Tritanopia (blue-blind)
#6F4C47
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #66531a;
/* rgb */ color: rgb(102, 83, 26);
/* oklch */ color: oklch(45.0% 0.078 90.1);
Tailwind
colors: {
  custom: {
    50: '#95835a',
    500: '#66531a',
    950: '#000000',
  },
}
SCSS
$custom: #66531a;
$custom-light: #95835a;
$custom-dark: #000000;
JSON
{
  "hex": "#66531a",
  "rgb": {
    "r": 102,
    "g": 83,
    "b": 26
  },
  "hsl": {
    "h": 45,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45,
    "c": 0.07801,
    "h": 90.1
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

primary
#66531A
secondary
#40579C
accent
#6DE345
background
#F9F7F5
surface
#F2EEE9
border
#CCC9C5
text
#0E0A04
muted
#7E7C79

Preview Lab

Preview with #66531A

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

Preview Lab → · Contrast checker → · Palette generator →

#66531A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva