#CAA326#CAA326

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

Color values

HEX#CAA326
RGBrgb(202, 163, 38)
HSLhsl(46, 68%, 47%)
HSVhsv(46, 81%, 79%)
CMYKcmyk(0%, 19.3%, 81.2%, 20.8%)
CIE-LABlab(68.67, 2.74, 64.56)
CIE-LCHlch(68.67, 64.62, 87.57°)
OKLaboklab(73.1% 0.0002 0.1392)
OKLCHoklch(73.1% 0.139 89.9)
XYZxyz(37.8065, 38.8934, 7.3492)
Luminance0.3889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA326 #264DCA
analogous
#CA5126 #CAA326 #9FCA26
triadic
#CAA326 #26CAA3 #A326CA
tetradic
#CAA326 #26CA51 #264DCA #CA269F
square
#CAA326 #26CA51 #264DCA #CA269F
split-complementary
#CAA326 #269FCA #5126CA
monochromatic
#635013 #96791C #CAA326 #DEBC4F #E8D083

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAA326#FFFFFF#000000##000000
##CAA3261.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)
#B7A102
Deuteranopia (green-blind)
#C0AC2E
Tritanopia (blue-blind)
#DB948C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #caa326;
/* rgb */ color: rgb(202, 163, 38);
/* oklch */ color: oklch(73.1% 0.139 89.9);
Tailwind
colors: {
  custom: {
    50: '#dfbd6c',
    500: '#caa326',
    950: '#000000',
  },
}
SCSS
$custom: #caa326;
$custom-light: #dfbd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#caa326",
  "rgb": {
    "r": 202,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 45.732,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73101,
    "c": 0.13915,
    "h": 89.9
  },
  "luminance": 0.38891
}

Semantic roles & 50–950 ramp

primary
#CAA326
secondary
#7B90D1
accent
#66EB3D
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #CAA326

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

Preview Lab → · Contrast checker → · Palette generator →

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