#CAAB4B#CAAB4B

#CAAB4B is a light, vivid yellow. Relative luminance 0.422; OKLCH L 75.0% C 0.120 H 91.3°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#CAAB4B
RGBrgb(202, 171, 75)
HSLhsl(45, 55%, 54%)
HSVhsv(45, 63%, 79%)
CMYKcmyk(0%, 15.3%, 62.9%, 20.8%)
CIE-LABlab(71.00, 0.28, 52.33)
CIE-LCHlch(71.00, 52.33, 89.70°)
OKLaboklab(75.02% -0.0028 0.12)
OKLCHoklch(75.02% 0.12 91.3)
XYZxyz(40.1919, 42.1926, 12.6822)
Luminance0.4219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAB4B #4B6ACA
analogous
#CA6C4B #CAAB4B #AACA4B
triadic
#CAAB4B #4BCAAB #AB4BCA
tetradic
#CAAB4B #4BCA6C #4B6ACA #CA4BAA
square
#CAAB4B #4BCA6C #4B6ACA #CA4BAA
split-complementary
#CAAB4B #4BAACA #6C4BCA
monochromatic
#776323 #A78A31 #CAAB4B #D8C17A #E6D7AA

Accessibility & contrast

On white

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

On black

9.44
#CAAB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAB4B
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAB4B#FFFFFF#000000##000000
##CAAB4B1.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caab4b;
/* rgb */ color: rgb(202, 171, 75);
/* oklch */ color: oklch(75.0% 0.120 91.3);
Tailwind
colors: {
  custom: {
    50: '#ddc381',
    500: '#caab4b',
    950: '#000000',
  },
}
SCSS
$custom: #caab4b;
$custom-light: #ddc381;
$custom-dark: #000000;
JSON
{
  "hex": "#caab4b",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 75
  },
  "hsl": {
    "h": 45.354,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.75022,
    "c": 0.12,
    "h": 91.3
  },
  "luminance": 0.4219
}

Semantic roles & 50–950 ramp

primary
#CAAB4B
secondary
#9DABD3
accent
#6EDE4A
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CAAB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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