#CAAC40#CAAC40

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

Color values

HEX#CAAC40
RGBrgb(202, 172, 64)
HSLhsl(47, 57%, 52%)
HSVhsv(47, 68%, 79%)
CMYKcmyk(0%, 14.9%, 68.3%, 20.8%)
CIE-LABlab(71.17, -0.92, 57.34)
CIE-LCHlch(71.17, 57.35, 90.92°)
OKLaboklab(75.12% -0.0075 0.1289)
OKLCHoklch(75.12% 0.129 93.3)
XYZxyz(40.0371, 42.4340, 10.9312)
Luminance0.4243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAC40 #405ECA
analogous
#CA6740 #CAAC40 #A3CA40
triadic
#CAAC40 #40CAAC #AC40CA
tetradic
#CAAC40 #40CA67 #405ECA #CA40A3
square
#CAAC40 #40CA67 #405ECA #CA40A3
split-complementary
#CAAC40 #40A3CA #6740CA
monochromatic
#705F1F #A0872C #CAAC40 #D7C170 #E5D6A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAAC40#FFFFFF#000000##000000
##CAAC401.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)
#BEA932
Deuteranopia (green-blind)
#C5B246
Tritanopia (blue-blind)
#DA9F96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #caac40;
/* rgb */ color: rgb(202, 172, 64);
/* oklch */ color: oklch(75.1% 0.129 93.3);
Tailwind
colors: {
  custom: {
    50: '#dec47a',
    500: '#caac40',
    950: '#000000',
  },
}
SCSS
$custom: #caac40;
$custom-light: #dec47a;
$custom-dark: #000000;
JSON
{
  "hex": "#caac40",
  "rgb": {
    "r": 202,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 46.957,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75122,
    "c": 0.12909,
    "h": 93.3
  },
  "luminance": 0.42432
}

Semantic roles & 50–950 ramp

primary
#CAAC40
secondary
#95A2D1
accent
#69E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CAAC40

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

Preview Lab → · Contrast checker → · Palette generator →

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