#CAAB4D#CAAB4D

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

Color values

HEX#CAAB4D
RGBrgb(202, 171, 77)
HSLhsl(45, 54%, 55%)
HSVhsv(45, 62%, 79%)
CMYKcmyk(0%, 15.3%, 61.9%, 20.8%)
CIE-LABlab(71.02, 0.41, 51.43)
CIE-LCHlch(71.02, 51.44, 89.54°)
OKLaboklab(75.04% -0.0021 0.1183)
OKLCHoklch(75.04% 0.118 91)
XYZxyz(40.2615, 42.2204, 13.0484)
Luminance0.4222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAB4D #4D6CCA
analogous
#CA6D4D #CAAB4D #ABCA4D
triadic
#CAAB4D #4DCAAB #AB4DCA
tetradic
#CAAB4D #4DCA6D #4D6CCA #CA4DAB
square
#CAAB4D #4DCA6D #4D6CCA #CA4DAB
split-complementary
#CAAB4D #4DABCA #6D4DCA
monochromatic
#796424 #A88B32 #CAAB4D #D8C17C #E6D8AB

Accessibility & contrast

On white

2.22
#CAAB4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAAB4D#FFFFFF#000000##000000
##CAAB4D1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA943
Deuteranopia (green-blind)
#C4B251
Tritanopia (blue-blind)
#D99E96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #caab4d;
/* rgb */ color: rgb(202, 171, 77);
/* oklch */ color: oklch(75.0% 0.118 91.0);
Tailwind
colors: {
  custom: {
    50: '#ddc382',
    500: '#caab4d',
    950: '#000000',
  },
}
SCSS
$custom: #caab4d;
$custom-light: #ddc382;
$custom-dark: #000000;
JSON
{
  "hex": "#caab4d",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 77
  },
  "hsl": {
    "h": 45.12,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75043,
    "c": 0.11835,
    "h": 91
  },
  "luminance": 0.42218
}

Semantic roles & 50–950 ramp

primary
#CAAB4D
secondary
#9FACD4
accent
#6FDD4A
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#15120B
muted
#84817C

Preview Lab

Preview with #CAAB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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