#CAAF4A#CAAF4A

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

Color values

HEX#CAAF4A
RGBrgb(202, 175, 74)
HSLhsl(47, 55%, 54%)
HSVhsv(47, 63%, 79%)
CMYKcmyk(0%, 13.4%, 63.4%, 20.8%)
CIE-LABlab(72.04, -1.91, 53.92)
CIE-LCHlch(72.04, 53.95, 92.02°)
OKLaboklab(75.83% -0.0092 0.1232)
OKLCHoklch(75.83% 0.124 94.3)
XYZxyz(40.9250, 43.7130, 12.7591)
Luminance0.4371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF4A #4A65CA
analogous
#CA6F4A #CAAF4A #A5CA4A
triadic
#CAAF4A #4ACAAF #AF4ACA
tetradic
#CAAF4A #4ACA6F #4A65CA #CA4AA5
square
#CAAF4A #4ACA6F #4A65CA #CA4AA5
split-complementary
#CAAF4A #4AA5CA #6F4ACA
monochromatic
#776523 #A68D31 #CAAF4A #D8C479 #E6D9A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAAF4A#FFFFFF#000000##000000
##CAAF4A1.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)
#C0AC3F
Deuteranopia (green-blind)
#C7B44F
Tritanopia (blue-blind)
#D9A299
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #caaf4a;
/* rgb */ color: rgb(202, 175, 74);
/* oklch */ color: oklch(75.8% 0.124 94.3);
Tailwind
colors: {
  custom: {
    50: '#ddc681',
    500: '#caaf4a',
    950: '#000000',
  },
}
SCSS
$custom: #caaf4a;
$custom-light: #ddc681;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf4a",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 47.344,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75834,
    "c": 0.12354,
    "h": 94.3
  },
  "luminance": 0.43711
}

Semantic roles & 50–950 ramp

primary
#CAAF4A
secondary
#9DA8D3
accent
#69DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CAAF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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