#CAAC42#CAAC42

#CAAC42 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.1% C 0.128 H 93.1°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#CAAC42
RGBrgb(202, 172, 66)
HSLhsl(47, 56%, 53%)
HSVhsv(47, 67%, 79%)
CMYKcmyk(0%, 14.9%, 67.3%, 20.8%)
CIE-LABlab(71.18, -0.81, 56.51)
CIE-LCHlch(71.18, 56.51, 90.82°)
OKLaboklab(75.14% -0.007 0.1275)
OKLCHoklch(75.14% 0.128 93.1)
XYZxyz(40.0950, 42.4571, 11.2364)
Luminance0.4245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAC42 #4260CA
analogous
#CA6842 #CAAC42 #A4CA42
triadic
#CAAC42 #42CAAC #AC42CA
tetradic
#CAAC42 #42CA68 #4260CA #CA42A4
square
#CAAC42 #42CA68 #4260CA #CA42A4
split-complementary
#CAAC42 #42A4CA #6842CA
monochromatic
#726020 #A2882D #CAAC42 #D7C172 #E5D6A2

Accessibility & contrast

On white

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

On black

9.49
#CAAC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAC42
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAC42#FFFFFF#000000##000000
##CAAC421.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA935
Deuteranopia (green-blind)
#C5B247
Tritanopia (blue-blind)
#DA9F96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #caac42;
/* rgb */ color: rgb(202, 172, 66);
/* oklch */ color: oklch(75.1% 0.128 93.1);
Tailwind
colors: {
  custom: {
    50: '#dec47c',
    500: '#caac42',
    950: '#000000',
  },
}
SCSS
$custom: #caac42;
$custom-light: #dec47c;
$custom-dark: #000000;
JSON
{
  "hex": "#caac42",
  "rgb": {
    "r": 202,
    "g": 172,
    "b": 66
  },
  "hsl": {
    "h": 46.765,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7514,
    "c": 0.12764,
    "h": 93.1
  },
  "luminance": 0.42455
}

Semantic roles & 50–950 ramp

primary
#CAAC42
secondary
#96A3D1
accent
#6ADF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CAAC42

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

Preview Lab → · Contrast checker → · Palette generator →

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