#CAAF47#CAAF47

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

Color values

HEX#CAAF47
RGBrgb(202, 175, 71)
HSLhsl(48, 55%, 54%)
HSVhsv(48, 65%, 79%)
CMYKcmyk(0%, 13.4%, 64.9%, 20.8%)
CIE-LABlab(72.01, -2.10, 55.22)
CIE-LCHlch(72.01, 55.26, 92.17°)
OKLaboklab(75.81% -0.0101 0.1255)
OKLCHoklch(75.81% 0.126 94.6)
XYZxyz(40.8263, 43.6735, 12.2394)
Luminance0.4367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF47 #4762CA
analogous
#CA6D47 #CAAF47 #A3CA47
triadic
#CAAF47 #47CAAF #AF47CA
tetradic
#CAAF47 #47CA6D #4762CA #CA47A3
square
#CAAF47 #47CA6D #4762CA #CA47A3
split-complementary
#CAAF47 #47A3CA #6D47CA
monochromatic
#756422 #A48C2F #CAAF47 #D8C477 #E5D8A6

Accessibility & contrast

On white

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

On black

9.73
#CAAF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAF47
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAF47#FFFFFF#000000##000000
##CAAF471.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caaf47;
/* rgb */ color: rgb(202, 175, 71);
/* oklch */ color: oklch(75.8% 0.126 94.6);
Tailwind
colors: {
  custom: {
    50: '#ddc67f',
    500: '#caaf47',
    950: '#000000',
  },
}
SCSS
$custom: #caaf47;
$custom-light: #ddc67f;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf47",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 47.634,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75805,
    "c": 0.12591,
    "h": 94.6
  },
  "luminance": 0.43671
}

Semantic roles & 50–950 ramp

primary
#CAAF47
secondary
#9AA6D2
accent
#68DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAAF47

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

Preview Lab → · Contrast checker → · Palette generator →

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