#CAAF4C#CAAF4C

#CAAF4C is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.9% C 0.122 H 94.0°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#CAAF4C
RGBrgb(202, 175, 76)
HSLhsl(47, 54%, 55%)
HSVhsv(47, 62%, 79%)
CMYKcmyk(0%, 13.4%, 62.4%, 20.8%)
CIE-LABlab(72.05, -1.77, 53.03)
CIE-LCHlch(72.05, 53.06, 91.92°)
OKLaboklab(75.85% -0.0086 0.1216)
OKLCHoklch(75.85% 0.122 94)
XYZxyz(40.9935, 43.7404, 13.1196)
Luminance0.4374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF4C #4C67CA
analogous
#CA704C #CAAF4C #A6CA4C
triadic
#CAAF4C #4CCAAF #AF4CCA
tetradic
#CAAF4C #4CCA70 #4C67CA #CA4CA6
square
#CAAF4C #4CCA70 #4C67CA #CA4CA6
split-complementary
#CAAF4C #4CA6CA #704CCA
monochromatic
#786624 #A78E32 #CAAF4C #D8C47B #E6D9AA

Accessibility & contrast

On white

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

On black

9.75
#CAAF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAF4C
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAF4C#FFFFFF#000000##000000
##CAAF4C1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC41
Deuteranopia (green-blind)
#C7B451
Tritanopia (blue-blind)
#D9A29A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #caaf4c;
/* rgb */ color: rgb(202, 175, 76);
/* oklch */ color: oklch(75.9% 0.122 94.0);
Tailwind
colors: {
  custom: {
    50: '#ddc682',
    500: '#caaf4c',
    950: '#000000',
  },
}
SCSS
$custom: #caaf4c;
$custom-light: #ddc682;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf4c",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 76
  },
  "hsl": {
    "h": 47.143,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.75855,
    "c": 0.1219,
    "h": 94
  },
  "luminance": 0.43738
}

Semantic roles & 50–950 ramp

primary
#CAAF4C
secondary
#9EAAD4
accent
#6ADE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CAAF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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