#CAA526#CAA526

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

Color values

HEX#CAA526
RGBrgb(202, 165, 38)
HSLhsl(46, 68%, 47%)
HSVhsv(46, 81%, 79%)
CMYKcmyk(0%, 18.3%, 81.2%, 20.8%)
CIE-LABlab(69.19, 1.67, 65.01)
CIE-LCHlch(69.19, 65.03, 88.53°)
OKLaboklab(73.51% -0.0029 0.1401)
OKLCHoklch(73.51% 0.14 91.2)
XYZxyz(38.1644, 39.6092, 7.4686)
Luminance0.3961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA526 #264BCA
analogous
#CA5326 #CAA526 #9DCA26
triadic
#CAA526 #26CAA5 #A526CA
tetradic
#CAA526 #26CA53 #264BCA #CA269D
square
#CAA526 #26CA53 #264BCA #CA269D
split-complementary
#CAA526 #269DCA #5326CA
monochromatic
#635113 #967B1C #CAA526 #DEBE4F #E8D183

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAA526#FFFFFF#000000##000000
##CAA5261.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)
#C1AD2F
Tritanopia (blue-blind)
#DB968E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #caa526;
/* rgb */ color: rgb(202, 165, 38);
/* oklch */ color: oklch(73.5% 0.140 91.2);
Tailwind
colors: {
  custom: {
    50: '#dfbf6c',
    500: '#caa526',
    950: '#000000',
  },
}
SCSS
$custom: #caa526;
$custom-light: #dfbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#caa526",
  "rgb": {
    "r": 202,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 46.463,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73509,
    "c": 0.14017,
    "h": 91.2
  },
  "luminance": 0.39607
}

Semantic roles & 50–950 ramp

primary
#CAA526
secondary
#7B8FD1
accent
#64EB3D
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161208
muted
#84817B

Preview Lab

Preview with #CAA526

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

Preview Lab → · Contrast checker → · Palette generator →

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