#CAA328#CAA328

#CAA328 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 73.1% C 0.138 H 89.8°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#CAA328
RGBrgb(202, 163, 40)
HSLhsl(46, 67%, 47%)
HSVhsv(46, 80%, 79%)
CMYKcmyk(0%, 19.3%, 80.2%, 20.8%)
CIE-LABlab(68.68, 2.81, 63.94)
CIE-LCHlch(68.68, 64.00, 87.49°)
OKLaboklab(73.11% 0.0005 0.1382)
OKLCHoklch(73.11% 0.138 89.8)
XYZxyz(37.8396, 38.9066, 7.5238)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA328 #284FCA
analogous
#CA5228 #CAA328 #A0CA28
triadic
#CAA328 #28CAA3 #A328CA
tetradic
#CAA328 #28CA52 #284FCA #CA28A0
square
#CAA328 #28CA52 #284FCA #CA28A0
split-complementary
#CAA328 #28A0CA #5228CA
monochromatic
#645114 #977A1E #CAA328 #DDBB52 #E7CF85

Accessibility & contrast

On white

2.39
#CAA328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#CAA328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA328
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA328#FFFFFF#000000##000000
##CAA3281.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A108
Deuteranopia (green-blind)
#C0AC30
Tritanopia (blue-blind)
#DB948C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #caa328;
/* rgb */ color: rgb(202, 163, 40);
/* oklch */ color: oklch(73.1% 0.138 89.8);
Tailwind
colors: {
  custom: {
    50: '#dfbd6d',
    500: '#caa328',
    950: '#000000',
  },
}
SCSS
$custom: #caa328;
$custom-light: #dfbd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#caa328",
  "rgb": {
    "r": 202,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 45.556,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73112,
    "c": 0.13823,
    "h": 89.8
  },
  "luminance": 0.38904
}

Semantic roles & 50–950 ramp

primary
#CAA328
secondary
#7E91D0
accent
#67EA3E
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161208
muted
#84817B

Preview Lab

Preview with #CAA328

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

Preview Lab → · Contrast checker → · Palette generator →

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