#CAAF4B#CAAF4B

#CAAF4B is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.8% C 0.123 H 94.1°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#CAAF4B
RGBrgb(202, 175, 75)
HSLhsl(47, 55%, 54%)
HSVhsv(47, 63%, 79%)
CMYKcmyk(0%, 13.4%, 62.9%, 20.8%)
CIE-LABlab(72.05, -1.84, 53.48)
CIE-LCHlch(72.05, 53.51, 91.97°)
OKLaboklab(75.84% -0.0089 0.1224)
OKLCHoklch(75.84% 0.123 94.1)
XYZxyz(40.9590, 43.7266, 12.9379)
Luminance0.4373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF4B #4B66CA
analogous
#CA704B #CAAF4B #A6CA4B
triadic
#CAAF4B #4BCAAF #AF4BCA
tetradic
#CAAF4B #4BCA70 #4B66CA #CA4BA6
square
#CAAF4B #4BCA70 #4B66CA #CA4BA6
split-complementary
#CAAF4B #4BA6CA #704BCA
monochromatic
#776623 #A78E31 #CAAF4B #D8C47A #E6D9AA

Accessibility & contrast

On white

2.15
#CAAF4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#CAAF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAF4B
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAF4B#FFFFFF#000000##000000
##CAAF4B1.002.159.749.74
#FFFFFF2.151.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC40
Deuteranopia (green-blind)
#C7B450
Tritanopia (blue-blind)
#D9A299
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #caaf4b;
/* rgb */ color: rgb(202, 175, 75);
/* oklch */ color: oklch(75.8% 0.123 94.1);
Tailwind
colors: {
  custom: {
    50: '#ddc681',
    500: '#caaf4b',
    950: '#000000',
  },
}
SCSS
$custom: #caaf4b;
$custom-light: #ddc681;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf4b",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 75
  },
  "hsl": {
    "h": 47.244,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.75844,
    "c": 0.12272,
    "h": 94.1
  },
  "luminance": 0.43725
}

Semantic roles & 50–950 ramp

primary
#CAAF4B
secondary
#9DA9D3
accent
#69DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CAAF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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