#CAAB47#CAAB47

#CAAB47 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 75.0% C 0.123 H 91.9°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#CAAB47
RGBrgb(202, 171, 71)
HSLhsl(46, 55%, 54%)
HSVhsv(46, 65%, 79%)
CMYKcmyk(0%, 15.3%, 64.9%, 20.8%)
CIE-LABlab(70.97, 0.02, 54.10)
CIE-LCHlch(70.97, 54.10, 89.98°)
OKLaboklab(74.98% -0.004 0.1231)
OKLCHoklch(74.98% 0.123 91.9)
XYZxyz(40.0593, 42.1395, 11.9837)
Luminance0.4214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAB47 #4766CA
analogous
#CA6947 #CAAB47 #A7CA47
triadic
#CAAB47 #47CAAB #AB47CA
tetradic
#CAAB47 #47CA69 #4766CA #CA47A7
square
#CAAB47 #47CA69 #4766CA #CA47A7
split-complementary
#CAAB47 #47A7CA #6947CA
monochromatic
#756122 #A4892F #CAAB47 #D8C177 #E5D6A6

Accessibility & contrast

On white

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

On black

9.43
#CAAB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAB47
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAB47#FFFFFF#000000##000000
##CAAB471.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83B
Deuteranopia (green-blind)
#C4B14C
Tritanopia (blue-blind)
#DA9E96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #caab47;
/* rgb */ color: rgb(202, 171, 71);
/* oklch */ color: oklch(75.0% 0.123 91.9);
Tailwind
colors: {
  custom: {
    50: '#ddc37f',
    500: '#caab47',
    950: '#000000',
  },
}
SCSS
$custom: #caab47;
$custom-light: #ddc37f;
$custom-dark: #000000;
JSON
{
  "hex": "#caab47",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 71
  },
  "hsl": {
    "h": 45.802,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.74981,
    "c": 0.12319,
    "h": 91.9
  },
  "luminance": 0.42137
}

Semantic roles & 50–950 ramp

primary
#CAAB47
secondary
#9AA8D2
accent
#6DDF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CAAB47

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

Preview Lab → · Contrast checker → · Palette generator →

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