#CAAB4A#CAAB4A

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

Color values

HEX#CAAB4A
RGBrgb(202, 171, 74)
HSLhsl(45, 55%, 54%)
HSVhsv(45, 63%, 79%)
CMYKcmyk(0%, 15.3%, 63.4%, 20.8%)
CIE-LABlab(70.99, 0.21, 52.78)
CIE-LCHlch(70.99, 52.78, 89.77°)
OKLaboklab(75.01% -0.0031 0.1208)
OKLCHoklch(75.01% 0.121 91.5)
XYZxyz(40.1580, 42.1790, 12.5034)
Luminance0.4218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAB4A #4A69CA
analogous
#CA6B4A #CAAB4A #A9CA4A
triadic
#CAAB4A #4ACAAB #AB4ACA
tetradic
#CAAB4A #4ACA6B #4A69CA #CA4AA9
square
#CAAB4A #4ACA6B #4A69CA #CA4AA9
split-complementary
#CAAB4A #4AA9CA #6B4ACA
monochromatic
#776223 #A68A31 #CAAB4A #D8C179 #E6D7A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAAB4A#FFFFFF#000000##000000
##CAAB4A1.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)
#BCA93F
Deuteranopia (green-blind)
#C4B24E
Tritanopia (blue-blind)
#DA9E96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #caab4a;
/* rgb */ color: rgb(202, 171, 74);
/* oklch */ color: oklch(75.0% 0.121 91.5);
Tailwind
colors: {
  custom: {
    50: '#ddc380',
    500: '#caab4a',
    950: '#000000',
  },
}
SCSS
$custom: #caab4a;
$custom-light: #ddc380;
$custom-dark: #000000;
JSON
{
  "hex": "#caab4a",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 74
  },
  "hsl": {
    "h": 45.469,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75011,
    "c": 0.12081,
    "h": 91.5
  },
  "luminance": 0.42177
}

Semantic roles & 50–950 ramp

primary
#CAAB4A
secondary
#9DAAD3
accent
#6EDE4A
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120A
muted
#84817C

Preview Lab

Preview with #CAAB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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