#CAAF51#CAAF51

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

Color values

HEX#CAAF51
RGBrgb(202, 175, 81)
HSLhsl(47, 53%, 55%)
HSVhsv(47, 60%, 79%)
CMYKcmyk(0%, 13.4%, 59.9%, 20.8%)
CIE-LABlab(72.10, -1.43, 50.79)
CIE-LCHlch(72.10, 50.81, 91.61°)
OKLaboklab(75.91% -0.007 0.1175)
OKLCHoklch(75.91% 0.118 93.4)
XYZxyz(41.1741, 43.8126, 14.0709)
Luminance0.4381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF51 #516CCA
analogous
#CA7351 #CAAF51 #A8CA51
triadic
#CAAF51 #51CAAF #AF51CA
tetradic
#CAAF51 #51CA73 #516CCA #CA51A8
square
#CAAF51 #51CA73 #516CCA #CA51A8
split-complementary
#CAAF51 #51A8CA #7351CA
monochromatic
#7B6825 #AA9034 #CAAF51 #D8C580 #E7DAAF

Accessibility & contrast

On white

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

On black

9.76
#CAAF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAF51
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAF51#FFFFFF#000000##000000
##CAAF511.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caaf51;
/* rgb */ color: rgb(202, 175, 81);
/* oklch */ color: oklch(75.9% 0.118 93.4);
Tailwind
colors: {
  custom: {
    50: '#ddc685',
    500: '#caaf51',
    950: '#000000',
  },
}
SCSS
$custom: #caaf51;
$custom-light: #ddc685;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf51",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 81
  },
  "hsl": {
    "h": 46.612,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.75909,
    "c": 0.11767,
    "h": 93.4
  },
  "luminance": 0.43811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAAF51

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

Preview Lab → · Contrast checker → · Palette generator →

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