#CAB666#CAB666

#CAB666 is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.6% C 0.103 H 95.7°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#CAB666
RGBrgb(202, 182, 102)
HSLhsl(48, 49%, 60%)
HSVhsv(48, 50%, 79%)
CMYKcmyk(0%, 9.9%, 49.5%, 20.8%)
CIE-LABlab(74.17, -3.40, 43.04)
CIE-LCHlch(74.17, 43.17, 94.52°)
OKLaboklab(77.62% -0.0102 0.1027)
OKLCHoklch(77.62% 0.103 95.7)
XYZxyz(43.4847, 46.9735, 19.3440)
Luminance0.4697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB666 #667ACA
analogous
#CA8466 #CAB666 #ACCA66
triadic
#CAB666 #66CAB6 #B666CA
tetradic
#CAB666 #66CA84 #667ACA #CA66AC
square
#CAB666 #66CA84 #667ACA #CA66AC
split-complementary
#CAB666 #66ACCA #8466CA
monochromatic
#87752F #B49D3E #CAB666 #DACC93 #E9E1C1

Accessibility & contrast

On white

2.02
#CAB666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#CAB666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB666
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB666#FFFFFF#000000##000000
##CAB6661.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B35F
Deuteranopia (green-blind)
#CAB969
Tritanopia (blue-blind)
#D7ABA3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cab666;
/* rgb */ color: rgb(202, 182, 102);
/* oklch */ color: oklch(77.6% 0.103 95.7);
Tailwind
colors: {
  custom: {
    50: '#dccb93',
    500: '#cab666',
    950: '#000000',
  },
}
SCSS
$custom: #cab666;
$custom-light: #dccb93;
$custom-dark: #000000;
JSON
{
  "hex": "#cab666",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 102
  },
  "hsl": {
    "h": 48,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.77622,
    "c": 0.10325,
    "h": 95.7
  },
  "luminance": 0.46972
}

Semantic roles & 50–950 ramp

primary
#CAB666
secondary
#B2BAD9
accent
#6BD850
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CAB666

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

Preview Lab → · Contrast checker → · Palette generator →

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