#CAA527#CAA527

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

Color values

HEX#CAA527
RGBrgb(202, 165, 39)
HSLhsl(46, 68%, 47%)
HSVhsv(46, 81%, 79%)
CMYKcmyk(0%, 18.3%, 80.7%, 20.8%)
CIE-LABlab(69.19, 1.71, 64.70)
CIE-LCHlch(69.19, 64.73, 88.49°)
OKLaboklab(73.51% -0.0027 0.1397)
OKLCHoklch(73.51% 0.14 91.1)
XYZxyz(38.1808, 39.6158, 7.5547)
Luminance0.3961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA527 #274CCA
analogous
#CA5327 #CAA527 #9ECA27
triadic
#CAA527 #27CAA5 #A527CA
tetradic
#CAA527 #27CA53 #274CCA #CA279E
square
#CAA527 #27CA53 #274CCA #CA279E
split-complementary
#CAA527 #279ECA #5327CA
monochromatic
#635113 #977B1D #CAA527 #DDBD51 #E7D184

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAA527#FFFFFF#000000##000000
##CAA5271.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)
#B8A303
Deuteranopia (green-blind)
#C1AD2F
Tritanopia (blue-blind)
#DB968E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #caa527;
/* rgb */ color: rgb(202, 165, 39);
/* oklch */ color: oklch(73.5% 0.140 91.1);
Tailwind
colors: {
  custom: {
    50: '#dfbf6d',
    500: '#caa527',
    950: '#000000',
  },
}
SCSS
$custom: #caa527;
$custom-light: #dfbf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#caa527",
  "rgb": {
    "r": 202,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 46.38,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73514,
    "c": 0.13971,
    "h": 91.1
  },
  "luminance": 0.39613
}

Semantic roles & 50–950 ramp

primary
#CAA527
secondary
#7C8FD0
accent
#65EB3D
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161208
muted
#84817B

Preview Lab

Preview with #CAA527

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

Preview Lab → · Contrast checker → · Palette generator →

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