#CAAC4B#CAAC4B

#CAAC4B is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.2% C 0.121 H 92.0°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#CAAC4B
RGBrgb(202, 172, 75)
HSLhsl(46, 55%, 54%)
HSVhsv(46, 63%, 79%)
CMYKcmyk(0%, 14.9%, 62.9%, 20.8%)
CIE-LABlab(71.26, -0.25, 52.62)
CIE-LCHlch(71.26, 52.62, 90.28°)
OKLaboklab(75.23% -0.0043 0.1206)
OKLCHoklch(75.23% 0.121 92)
XYZxyz(40.3815, 42.5718, 12.7454)
Luminance0.4257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAC4B #4B69CA
analogous
#CA6D4B #CAAC4B #A8CA4B
triadic
#CAAC4B #4BCAAC #AC4BCA
tetradic
#CAAC4B #4BCA6D #4B69CA #CA4BA8
square
#CAAC4B #4BCA6D #4B69CA #CA4BA8
split-complementary
#CAAC4B #4BA8CA #6D4BCA
monochromatic
#776423 #A78B31 #CAAC4B #D8C27A #E6D8AA

Accessibility & contrast

On white

2.21
#CAAC4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#CAAC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAC4B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAC4B#FFFFFF#000000##000000
##CAAC4B1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA940
Deuteranopia (green-blind)
#C5B24F
Tritanopia (blue-blind)
#D99F97
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #caac4b;
/* rgb */ color: rgb(202, 172, 75);
/* oklch */ color: oklch(75.2% 0.121 92.0);
Tailwind
colors: {
  custom: {
    50: '#ddc481',
    500: '#caac4b',
    950: '#000000',
  },
}
SCSS
$custom: #caac4b;
$custom-light: #ddc481;
$custom-dark: #000000;
JSON
{
  "hex": "#caac4b",
  "rgb": {
    "r": 202,
    "g": 172,
    "b": 75
  },
  "hsl": {
    "h": 45.827,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.75227,
    "c": 0.12066,
    "h": 92
  },
  "luminance": 0.4257
}

Semantic roles & 50–950 ramp

primary
#CAAC4B
secondary
#9DAAD3
accent
#6DDE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CAAC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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