#CAAB41#CAAB41

#CAAB41 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.9% C 0.128 H 92.6°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#CAAB41
RGBrgb(202, 171, 65)
HSLhsl(46, 56%, 52%)
HSVhsv(46, 68%, 79%)
CMYKcmyk(0%, 15.3%, 67.8%, 20.8%)
CIE-LABlab(70.92, -0.33, 56.65)
CIE-LCHlch(70.92, 56.65, 90.34°)
OKLaboklab(74.93% -0.0057 0.1276)
OKLCHoklch(74.93% 0.128 92.6)
XYZxyz(39.8762, 42.0663, 11.0192)
Luminance0.4206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAB41 #4160CA
analogous
#CA6641 #CAAB41 #A5CA41
triadic
#CAAB41 #41CAAB #AB41CA
tetradic
#CAAB41 #41CA66 #4160CA #CA41A5
square
#CAAB41 #41CA66 #4160CA #CA41A5
split-complementary
#CAAB41 #41A5CA #6641CA
monochromatic
#715F20 #A1872D #CAAB41 #D7C071 #E5D5A1

Accessibility & contrast

On white

2.23
#CAAB41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#CAAB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAB41
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAB41#FFFFFF#000000##000000
##CAAB411.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA834
Deuteranopia (green-blind)
#C5B146
Tritanopia (blue-blind)
#DA9E95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #caab41;
/* rgb */ color: rgb(202, 171, 65);
/* oklch */ color: oklch(74.9% 0.128 92.6);
Tailwind
colors: {
  custom: {
    50: '#dec37b',
    500: '#caab41',
    950: '#000000',
  },
}
SCSS
$custom: #caab41;
$custom-light: #dec37b;
$custom-dark: #000000;
JSON
{
  "hex": "#caab41",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 46.423,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74925,
    "c": 0.12772,
    "h": 92.6
  },
  "luminance": 0.42064
}

Semantic roles & 50–950 ramp

primary
#CAAB41
secondary
#96A3D1
accent
#6AE048
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CAAB41

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

Preview Lab → · Contrast checker → · Palette generator →

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