#CAAB48#CAAB48

#CAAB48 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 75.0% C 0.122 H 91.7°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#CAAB48
RGBrgb(202, 171, 72)
HSLhsl(46, 55%, 54%)
HSVhsv(46, 64%, 79%)
CMYKcmyk(0%, 15.3%, 64.4%, 20.8%)
CIE-LABlab(70.98, 0.08, 53.66)
CIE-LCHlch(70.98, 53.66, 89.91°)
OKLaboklab(74.99% -0.0037 0.1224)
OKLCHoklch(74.99% 0.122 91.7)
XYZxyz(40.0917, 42.1525, 12.1542)
Luminance0.4215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAB48 #4867CA
analogous
#CA6A48 #CAAB48 #A8CA48
triadic
#CAAB48 #48CAAB #AB48CA
tetradic
#CAAB48 #48CA6A #4867CA #CA48A8
square
#CAAB48 #48CA6A #4867CA #CA48A8
split-complementary
#CAAB48 #48A8CA #6A48CA
monochromatic
#766222 #A58930 #CAAB48 #D8C177 #E5D7A7

Accessibility & contrast

On white

2.23
#CAAB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#CAAB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAB48
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAB48#FFFFFF#000000##000000
##CAAB481.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA93D
Deuteranopia (green-blind)
#C4B14D
Tritanopia (blue-blind)
#DA9E96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #caab48;
/* rgb */ color: rgb(202, 171, 72);
/* oklch */ color: oklch(75.0% 0.122 91.7);
Tailwind
colors: {
  custom: {
    50: '#ddc37f',
    500: '#caab48',
    950: '#000000',
  },
}
SCSS
$custom: #caab48;
$custom-light: #ddc37f;
$custom-dark: #000000;
JSON
{
  "hex": "#caab48",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 72
  },
  "hsl": {
    "h": 45.692,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.74991,
    "c": 0.12242,
    "h": 91.7
  },
  "luminance": 0.4215
}

Semantic roles & 50–950 ramp

primary
#CAAB48
secondary
#9BA8D3
accent
#6DDE49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CAAB48

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

Preview Lab → · Contrast checker → · Palette generator →

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