#CAA534#CAA534

#CAA534 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.6% C 0.133 H 90.0°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CAA534
RGBrgb(202, 165, 52)
HSLhsl(45, 59%, 50%)
HSVhsv(45, 74%, 79%)
CMYKcmyk(0%, 18.3%, 74.3%, 20.8%)
CIE-LABlab(69.27, 2.21, 60.25)
CIE-LCHlch(69.27, 60.29, 87.90°)
OKLaboklab(73.59% 0 0.1328)
OKLCHoklch(73.59% 0.133 90)
XYZxyz(38.4343, 39.7172, 8.8900)
Luminance0.3972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA534 #3459CA
analogous
#CA5A34 #CAA534 #A4CA34
triadic
#CAA534 #34CAA5 #A534CA
tetradic
#CAA534 #34CA5A #3459CA #CA34A4
square
#CAA534 #34CA5A #3459CA #CA34A4
split-complementary
#CAA534 #34A4CA #5A34CA
monochromatic
#69551B #997D27 #CAA534 #D7BB64 #E4D095

Accessibility & contrast

On white

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

On black

8.94
#CAA534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA534
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA534#FFFFFF#000000##000000
##CAA5341.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A322
Deuteranopia (green-blind)
#C1AD3A
Tritanopia (blue-blind)
#DB978F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #caa534;
/* rgb */ color: rgb(202, 165, 52);
/* oklch */ color: oklch(73.6% 0.133 90.0);
Tailwind
colors: {
  custom: {
    50: '#debf73',
    500: '#caa534',
    950: '#000000',
  },
}
SCSS
$custom: #caa534;
$custom-light: #debf73;
$custom-dark: #000000;
JSON
{
  "hex": "#caa534",
  "rgb": {
    "r": 202,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 45.2,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73594,
    "c": 0.13282,
    "h": 90
  },
  "luminance": 0.39715
}

Semantic roles & 50–950 ramp

primary
#CAA534
secondary
#8B9CCF
accent
#6CE246
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #CAA534

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

Preview Lab → · Contrast checker → · Palette generator →

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