#CAAF41#CAAF41

#CAAF41 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.8% C 0.130 H 95.2°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#CAAF41
RGBrgb(202, 175, 65)
HSLhsl(48, 56%, 52%)
HSVhsv(48, 68%, 79%)
CMYKcmyk(0%, 13.4%, 67.8%, 20.8%)
CIE-LABlab(71.96, -2.45, 57.74)
CIE-LCHlch(71.96, 57.79, 92.43°)
OKLaboklab(75.75% -0.0118 0.1299)
OKLCHoklch(75.75% 0.13 95.2)
XYZxyz(40.6432, 43.6003, 11.2749)
Luminance0.4360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF41 #415CCA
analogous
#CA6A41 #CAAF41 #A1CA41
triadic
#CAAF41 #41CAAF #AF41CA
tetradic
#CAAF41 #41CA6A #415CCA #CA41A1
square
#CAAF41 #41CA6A #415CCA #CA41A1
split-complementary
#CAAF41 #41A1CA #6A41CA
monochromatic
#716120 #A18A2D #CAAF41 #D7C371 #E5D7A1

Accessibility & contrast

On white

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

On black

9.72
#CAAF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAF41
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAF41#FFFFFF#000000##000000
##CAAF411.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC33
Deuteranopia (green-blind)
#C7B447
Tritanopia (blue-blind)
#DAA298
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #caaf41;
/* rgb */ color: rgb(202, 175, 65);
/* oklch */ color: oklch(75.8% 0.130 95.2);
Tailwind
colors: {
  custom: {
    50: '#dec67b',
    500: '#caaf41',
    950: '#000000',
  },
}
SCSS
$custom: #caaf41;
$custom-light: #dec67b;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf41",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 48.175,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7575,
    "c": 0.13043,
    "h": 95.2
  },
  "luminance": 0.43598
}

Semantic roles & 50–950 ramp

primary
#CAAF41
secondary
#96A1D1
accent
#66E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAAF41

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

Preview Lab → · Contrast checker → · Palette generator →

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