#CAAC3A#CAAC3A

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

Color values

HEX#CAAC3A
RGBrgb(202, 172, 58)
HSLhsl(48, 58%, 51%)
HSVhsv(48, 71%, 79%)
CMYKcmyk(0%, 14.9%, 71.3%, 20.8%)
CIE-LABlab(71.12, -1.23, 59.74)
CIE-LCHlch(71.12, 59.75, 91.18°)
OKLaboklab(75.07% -0.0091 0.1329)
OKLCHoklch(75.07% 0.133 93.9)
XYZxyz(39.8754, 42.3693, 10.0799)
Luminance0.4237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAC3A #3A58CA
analogous
#CA643A #CAAC3A #A0CA3A
triadic
#CAAC3A #3ACAAC #AC3ACA
tetradic
#CAAC3A #3ACA64 #3A58CA #CA3AA0
square
#CAAC3A #3ACA64 #3A58CA #CA3AA0
split-complementary
#CAAC3A #3AA0CA #643ACA
monochromatic
#6C5C1D #9D852A #CAAC3A #D7C06A #E4D59A

Accessibility & contrast

On white

2.22
#CAAC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#CAAC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAC3A
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAC3A#FFFFFF#000000##000000
##CAAC3A1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caac3a;
/* rgb */ color: rgb(202, 172, 58);
/* oklch */ color: oklch(75.1% 0.133 93.9);
Tailwind
colors: {
  custom: {
    50: '#dec477',
    500: '#caac3a',
    950: '#000000',
  },
}
SCSS
$custom: #caac3a;
$custom-light: #dec477;
$custom-dark: #000000;
JSON
{
  "hex": "#caac3a",
  "rgb": {
    "r": 202,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 47.5,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75073,
    "c": 0.1332,
    "h": 93.9
  },
  "luminance": 0.42367
}

Semantic roles & 50–950 ramp

primary
#CAAC3A
secondary
#909DD0
accent
#67E147
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CAAC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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