#CAB366#CAB366

#CAB366 is a light, moderate yellow. Relative luminance 0.458; OKLCH L 77.0% C 0.101 H 93.2°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#CAB366
RGBrgb(202, 179, 102)
HSLhsl(46, 49%, 60%)
HSVhsv(46, 50%, 79%)
CMYKcmyk(0%, 11.4%, 49.5%, 20.8%)
CIE-LABlab(73.39, -1.82, 42.08)
CIE-LCHlch(73.39, 42.12, 92.48°)
OKLaboklab(77% -0.0057 0.1006)
OKLCHoklch(77% 0.101 93.2)
XYZxyz(42.8769, 45.7579, 19.1414)
Luminance0.4576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB366 #667DCA
analogous
#CA8166 #CAB366 #AFCA66
triadic
#CAB366 #66CAB3 #B366CA
tetradic
#CAB366 #66CA81 #667DCA #CA66AF
square
#CAB366 #66CA81 #667DCA #CA66AF
split-complementary
#CAB366 #66AFCA #8166CA
monochromatic
#87732F #B4993E #CAB366 #DACA93 #E9E0C1

Accessibility & contrast

On white

2.07
#CAB366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#CAB366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB366
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB366#FFFFFF#000000##000000
##CAB3661.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B060
Deuteranopia (green-blind)
#C8B769
Tritanopia (blue-blind)
#D8A8A1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab366;
/* rgb */ color: rgb(202, 179, 102);
/* oklch */ color: oklch(77.0% 0.101 93.2);
Tailwind
colors: {
  custom: {
    50: '#dcc993',
    500: '#cab366',
    950: '#000000',
  },
}
SCSS
$custom: #cab366;
$custom-light: #dcc993;
$custom-dark: #000000;
JSON
{
  "hex": "#cab366",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 102
  },
  "hsl": {
    "h": 46.2,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.77002,
    "c": 0.10078,
    "h": 93.2
  },
  "luminance": 0.45756
}

Semantic roles & 50–950 ramp

primary
#CAB366
secondary
#B2BBD9
accent
#6FD850
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CAB366

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

Preview Lab → · Contrast checker → · Palette generator →

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