#CAAF5B#CAAF5B

#CAAF5B is a light, moderate yellow. Relative luminance 0.440; OKLCH L 76.0% C 0.109 H 91.9°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#CAAF5B
RGBrgb(202, 175, 91)
HSLhsl(45, 51%, 57%)
HSVhsv(45, 55%, 79%)
CMYKcmyk(0%, 13.4%, 55%, 20.8%)
CIE-LABlab(72.21, -0.66, 46.12)
CIE-LCHlch(72.21, 46.13, 90.83°)
OKLaboklab(76.03% -0.0035 0.1085)
OKLCHoklch(76.03% 0.109 91.9)
XYZxyz(41.5771, 43.9738, 16.1933)
Luminance0.4397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF5B #5B76CA
analogous
#CA775B #CAAF5B #AECA5B
triadic
#CAAF5B #5BCAAF #AF5BCA
tetradic
#CAAF5B #5BCA77 #5B76CA #CA5BAE
square
#CAAF5B #5BCA77 #5B76CA #CA5BAE
split-complementary
#CAAF5B #5BAECA #775BCA
monochromatic
#816C2A #AF9239 #CAAF5B #D9C689 #E8DCB8

Accessibility & contrast

On white

2.14
#CAAF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#CAAF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAF5B
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAF5B#FFFFFF#000000##000000
##CAAF5B1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC53
Deuteranopia (green-blind)
#C6B45E
Tritanopia (blue-blind)
#D8A39C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #caaf5b;
/* rgb */ color: rgb(202, 175, 91);
/* oklch */ color: oklch(76.0% 0.109 91.9);
Tailwind
colors: {
  custom: {
    50: '#ddc68c',
    500: '#caaf5b',
    950: '#000000',
  },
}
SCSS
$custom: #caaf5b;
$custom-light: #ddc68c;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf5b",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 91
  },
  "hsl": {
    "h": 45.405,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.76029,
    "c": 0.10859,
    "h": 91.9
  },
  "luminance": 0.43972
}

Semantic roles & 50–950 ramp

primary
#CAAF5B
secondary
#AAB5D7
accent
#70DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAAF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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