#CAAF4D#CAAF4D

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

Color values

HEX#CAAF4D
RGBrgb(202, 175, 77)
HSLhsl(47, 54%, 55%)
HSVhsv(47, 62%, 79%)
CMYKcmyk(0%, 13.4%, 61.9%, 20.8%)
CIE-LABlab(72.06, -1.71, 52.59)
CIE-LCHlch(72.06, 52.62, 91.86°)
OKLaboklab(75.87% -0.0082 0.1208)
OKLCHoklch(75.87% 0.121 93.9)
XYZxyz(41.0285, 43.7544, 13.3041)
Luminance0.4375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF4D #4D68CA
analogous
#CA714D #CAAF4D #A7CA4D
triadic
#CAAF4D #4DCAAF #AF4DCA
tetradic
#CAAF4D #4DCA71 #4D68CA #CA4DA7
square
#CAAF4D #4DCA71 #4D68CA #CA4DA7
split-complementary
#CAAF4D #4DA7CA #714DCA
monochromatic
#796624 #A88E32 #CAAF4D #D8C47C #E6D9AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAAF4D#FFFFFF#000000##000000
##CAAF4D1.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)
#C0AC42
Deuteranopia (green-blind)
#C7B452
Tritanopia (blue-blind)
#D9A29A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #caaf4d;
/* rgb */ color: rgb(202, 175, 77);
/* oklch */ color: oklch(75.9% 0.121 93.9);
Tailwind
colors: {
  custom: {
    50: '#ddc683',
    500: '#caaf4d',
    950: '#000000',
  },
}
SCSS
$custom: #caaf4d;
$custom-light: #ddc683;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf4d",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 77
  },
  "hsl": {
    "h": 47.04,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75865,
    "c": 0.12107,
    "h": 93.9
  },
  "luminance": 0.43752
}

Semantic roles & 50–950 ramp

primary
#CAAF4D
secondary
#9FAAD4
accent
#6ADD4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CAAF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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