#CAAF52#CAAF52

#CAAF52 is a light, moderate yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.117 H 93.3°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#CAAF52
RGBrgb(202, 175, 82)
HSLhsl(47, 53%, 56%)
HSVhsv(47, 59%, 79%)
CMYKcmyk(0%, 13.4%, 59.4%, 20.8%)
CIE-LABlab(72.11, -1.36, 50.33)
CIE-LCHlch(72.11, 50.35, 91.54°)
OKLaboklab(75.92% -0.0066 0.1166)
OKLCHoklch(75.92% 0.117 93.3)
XYZxyz(41.2119, 43.8277, 14.2699)
Luminance0.4383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF52 #526DCA
analogous
#CA7352 #CAAF52 #A9CA52
triadic
#CAAF52 #52CAAF #AF52CA
tetradic
#CAAF52 #52CA73 #526DCA #CA52A9
square
#CAAF52 #52CA73 #526DCA #CA52A9
split-complementary
#CAAF52 #52A9CA #7352CA
monochromatic
#7C6826 #AB9034 #CAAF52 #D8C581 #E7DAB0

Accessibility & contrast

On white

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

On black

9.77
#CAAF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAF52
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAF52#FFFFFF#000000##000000
##CAAF521.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC49
Deuteranopia (green-blind)
#C6B456
Tritanopia (blue-blind)
#D9A39A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #caaf52;
/* rgb */ color: rgb(202, 175, 82);
/* oklch */ color: oklch(75.9% 0.117 93.3);
Tailwind
colors: {
  custom: {
    50: '#ddc686',
    500: '#caaf52',
    950: '#000000',
  },
}
SCSS
$custom: #caaf52;
$custom-light: #ddc686;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf52",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 82
  },
  "hsl": {
    "h": 46.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7592,
    "c": 0.1168,
    "h": 93.3
  },
  "luminance": 0.43826
}

Semantic roles & 50–950 ramp

primary
#CAAF52
secondary
#A3AED5
accent
#6CDD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAAF52

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

Preview Lab → · Contrast checker → · Palette generator →

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