#CAA523#CAA523

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

Color values

HEX#CAA523
RGBrgb(202, 165, 35)
HSLhsl(47, 70%, 46%)
HSVhsv(47, 83%, 79%)
CMYKcmyk(0%, 18.3%, 82.7%, 20.8%)
CIE-LABlab(69.18, 1.58, 65.89)
CIE-LCHlch(69.18, 65.91, 88.63°)
OKLaboklab(73.49% -0.0034 0.1414)
OKLCHoklch(73.49% 0.141 91.4)
XYZxyz(38.1180, 39.5906, 7.2239)
Luminance0.3959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA523 #2348CA
analogous
#CA5223 #CAA523 #9CCA23
triadic
#CAA523 #23CAA5 #A523CA
tetradic
#CAA523 #23CA52 #2348CA #CA239C
square
#CAA523 #23CA52 #2348CA #CA239C
split-complementary
#CAA523 #239CCA #5223CA
monochromatic
#625011 #967A1A #CAA523 #E0BF4A #E9D17F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAA523#FFFFFF#000000##000000
##CAA5231.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)
#B9A300
Deuteranopia (green-blind)
#C2AD2C
Tritanopia (blue-blind)
#DB968D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #caa523;
/* rgb */ color: rgb(202, 165, 35);
/* oklch */ color: oklch(73.5% 0.141 91.4);
Tailwind
colors: {
  custom: {
    50: '#dfbf6b',
    500: '#caa523',
    950: '#000000',
  },
}
SCSS
$custom: #caa523;
$custom-light: #dfbf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#caa523",
  "rgb": {
    "r": 202,
    "g": 165,
    "b": 35
  },
  "hsl": {
    "h": 46.707,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73494,
    "c": 0.14146,
    "h": 91.4
  },
  "luminance": 0.39588
}

Semantic roles & 50–950 ramp

primary
#CAA523
secondary
#788CD1
accent
#62ED3B
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #CAA523

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

Preview Lab → · Contrast checker → · Palette generator →

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