#CAA327#CAA327

#CAA327 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#CAA327
RGBrgb(202, 163, 39)
HSLhsl(46, 68%, 47%)
HSVhsv(46, 81%, 79%)
CMYKcmyk(0%, 19.3%, 80.7%, 20.8%)
CIE-LABlab(68.68, 2.77, 64.25)
CIE-LCHlch(68.68, 64.31, 87.53°)
OKLaboklab(73.11% 0.0003 0.1387)
OKLCHoklch(73.11% 0.139 89.9)
XYZxyz(37.8229, 38.8999, 7.4354)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA327 #274ECA
analogous
#CA5127 #CAA327 #A0CA27
triadic
#CAA327 #27CAA3 #A327CA
tetradic
#CAA327 #27CA51 #274ECA #CA27A0
square
#CAA327 #27CA51 #274ECA #CA27A0
split-complementary
#CAA327 #27A0CA #5127CA
monochromatic
#635013 #977A1D #CAA327 #DDBC51 #E7D084

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAA327#FFFFFF#000000##000000
##CAA3271.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)
#B7A105
Deuteranopia (green-blind)
#C0AC2F
Tritanopia (blue-blind)
#DB948C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #caa327;
/* rgb */ color: rgb(202, 163, 39);
/* oklch */ color: oklch(73.1% 0.139 89.9);
Tailwind
colors: {
  custom: {
    50: '#dfbd6d',
    500: '#caa327',
    950: '#000000',
  },
}
SCSS
$custom: #caa327;
$custom-light: #dfbd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#caa327",
  "rgb": {
    "r": 202,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 45.644,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73107,
    "c": 0.1387,
    "h": 89.9
  },
  "luminance": 0.38897
}

Semantic roles & 50–950 ramp

primary
#CAA327
secondary
#7C91D0
accent
#67EB3D
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161208
muted
#84817B

Preview Lab

Preview with #CAA327

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

Preview Lab → · Contrast checker → · Palette generator →

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