#CAB166#CAB166

#CAB166 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.6% C 0.099 H 91.5°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#CAB166
RGBrgb(202, 177, 102)
HSLhsl(45, 49%, 60%)
HSVhsv(45, 50%, 79%)
CMYKcmyk(0%, 12.4%, 49.5%, 20.8%)
CIE-LABlab(72.87, -0.77, 41.44)
CIE-LCHlch(72.87, 41.45, 91.06°)
OKLaboklab(76.59% -0.0026 0.0992)
OKLCHoklch(76.59% 0.099 91.5)
XYZxyz(42.4790, 44.9620, 19.0088)
Luminance0.4496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB166 #667FCA
analogous
#CA7F66 #CAB166 #B1CA66
triadic
#CAB166 #66CAB1 #B166CA
tetradic
#CAB166 #66CA7F #667FCA #CA66B1
square
#CAB166 #66CA7F #667FCA #CA66B1
split-complementary
#CAB166 #66B1CA #7F66CA
monochromatic
#87712F #B4973E #CAB166 #DAC893 #E9DFC1

Accessibility & contrast

On white

2.10
#CAB166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#CAB166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB166
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB166#FFFFFF#000000##000000
##CAB1661.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AF60
Deuteranopia (green-blind)
#C6B669
Tritanopia (blue-blind)
#D8A69F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab166;
/* rgb */ color: rgb(202, 177, 102);
/* oklch */ color: oklch(76.6% 0.099 91.5);
Tailwind
colors: {
  custom: {
    50: '#dcc893',
    500: '#cab166',
    950: '#000000',
  },
}
SCSS
$custom: #cab166;
$custom-light: #dcc893;
$custom-dark: #000000;
JSON
{
  "hex": "#cab166",
  "rgb": {
    "r": 202,
    "g": 177,
    "b": 102
  },
  "hsl": {
    "h": 45,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.7659,
    "c": 0.09923,
    "h": 91.5
  },
  "luminance": 0.4496
}

Semantic roles & 50–950 ramp

primary
#CAB166
secondary
#B2BCD9
accent
#72D850
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CAB166

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

Preview Lab → · Contrast checker → · Palette generator →

#CAB166 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva