#CAAF48#CAAF48

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

Color values

HEX#CAAF48
RGBrgb(202, 175, 72)
HSLhsl(48, 55%, 54%)
HSVhsv(48, 64%, 79%)
CMYKcmyk(0%, 13.4%, 64.4%, 20.8%)
CIE-LABlab(72.02, -2.03, 54.79)
CIE-LCHlch(72.02, 54.83, 92.13°)
OKLaboklab(75.81% -0.0098 0.1248)
OKLCHoklch(75.81% 0.125 94.5)
XYZxyz(40.8587, 43.6865, 12.4098)
Luminance0.4368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF48 #4863CA
analogous
#CA6E48 #CAAF48 #A4CA48
triadic
#CAAF48 #48CAAF #AF48CA
tetradic
#CAAF48 #48CA6E #4863CA #CA48A4
square
#CAAF48 #48CA6E #4863CA #CA48A4
split-complementary
#CAAF48 #48A4CA #6E48CA
monochromatic
#766422 #A58D30 #CAAF48 #D8C477 #E5D8A7

Accessibility & contrast

On white

2.16
#CAAF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAAF48#FFFFFF#000000##000000
##CAAF481.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC3C
Deuteranopia (green-blind)
#C7B44D
Tritanopia (blue-blind)
#D9A299
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #caaf48;
/* rgb */ color: rgb(202, 175, 72);
/* oklch */ color: oklch(75.8% 0.125 94.5);
Tailwind
colors: {
  custom: {
    50: '#ddc67f',
    500: '#caaf48',
    950: '#000000',
  },
}
SCSS
$custom: #caaf48;
$custom-light: #ddc67f;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf48",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 47.538,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75814,
    "c": 0.12513,
    "h": 94.5
  },
  "luminance": 0.43684
}

Semantic roles & 50–950 ramp

primary
#CAAF48
secondary
#9BA7D3
accent
#68DE49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAAF48

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

Preview Lab → · Contrast checker → · Palette generator →

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