#CAA525#CAA525

#CAA525 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.5% C 0.141 H 91.3°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#CAA525
RGBrgb(202, 165, 37)
HSLhsl(47, 69%, 47%)
HSVhsv(47, 82%, 79%)
CMYKcmyk(0%, 18.3%, 81.7%, 20.8%)
CIE-LABlab(69.19, 1.64, 65.31)
CIE-LCHlch(69.19, 65.33, 88.56°)
OKLaboklab(73.5% -0.0031 0.1406)
OKLCHoklch(73.5% 0.141 91.3)
XYZxyz(38.1485, 39.6029, 7.3847)
Luminance0.3960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA525 #254ACA
analogous
#CA5225 #CAA525 #9DCA25
triadic
#CAA525 #25CAA5 #A525CA
tetradic
#CAA525 #25CA52 #254ACA #CA259D
square
#CAA525 #25CA52 #254ACA #CA259D
split-complementary
#CAA525 #259DCA #5225CA
monochromatic
#635012 #967B1C #CAA525 #DFBE4E #E8D181

Accessibility & contrast

On white

2.35
#CAA525 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#CAA525 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA525
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA525#FFFFFF#000000##000000
##CAA5251.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#C2AD2E
Tritanopia (blue-blind)
#DB968E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #caa525;
/* rgb */ color: rgb(202, 165, 37);
/* oklch */ color: oklch(73.5% 0.141 91.3);
Tailwind
colors: {
  custom: {
    50: '#dfbf6c',
    500: '#caa525',
    950: '#000000',
  },
}
SCSS
$custom: #caa525;
$custom-light: #dfbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#caa525",
  "rgb": {
    "r": 202,
    "g": 165,
    "b": 37
  },
  "hsl": {
    "h": 46.545,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73504,
    "c": 0.14061,
    "h": 91.3
  },
  "luminance": 0.396
}

Semantic roles & 50–950 ramp

primary
#CAA525
secondary
#7A8ED1
accent
#63EC3C
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #CAA525

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

Preview Lab → · Contrast checker → · Palette generator →

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