#CAAD40#CAAD40

#CAAD40 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.3% C 0.130 H 94.0°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#CAAD40
RGBrgb(202, 173, 64)
HSLhsl(47, 57%, 52%)
HSVhsv(47, 68%, 79%)
CMYKcmyk(0%, 14.4%, 68.3%, 20.8%)
CIE-LABlab(71.43, -1.45, 57.61)
CIE-LCHlch(71.43, 57.63, 91.44°)
OKLaboklab(75.33% -0.0091 0.1294)
OKLCHoklch(75.33% 0.13 94)
XYZxyz(40.2281, 42.8160, 10.9949)
Luminance0.4281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAD40 #405DCA
analogous
#CA6840 #CAAD40 #A2CA40
triadic
#CAAD40 #40CAAD #AD40CA
tetradic
#CAAD40 #40CA68 #405DCA #CA40A2
square
#CAAD40 #40CA68 #405DCA #CA40A2
split-complementary
#CAAD40 #40A2CA #6840CA
monochromatic
#705F1F #A0882C #CAAD40 #D7C270 #E5D6A0

Accessibility & contrast

On white

2.20
#CAAD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#CAAD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAD40
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAD40#FFFFFF#000000##000000
##CAAD401.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA32
Deuteranopia (green-blind)
#C6B346
Tritanopia (blue-blind)
#DAA097
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #caad40;
/* rgb */ color: rgb(202, 173, 64);
/* oklch */ color: oklch(75.3% 0.130 94.0);
Tailwind
colors: {
  custom: {
    50: '#dec57b',
    500: '#caad40',
    950: '#000000',
  },
}
SCSS
$custom: #caad40;
$custom-light: #dec57b;
$custom-dark: #000000;
JSON
{
  "hex": "#caad40",
  "rgb": {
    "r": 202,
    "g": 173,
    "b": 64
  },
  "hsl": {
    "h": 47.391,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75328,
    "c": 0.12976,
    "h": 94
  },
  "luminance": 0.42814
}

Semantic roles & 50–950 ramp

primary
#CAAD40
secondary
#95A1D1
accent
#68E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CAAD40

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

Preview Lab → · Contrast checker → · Palette generator →

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