#CAA323#CAA323

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

Color values

HEX#CAA323
RGBrgb(202, 163, 35)
HSLhsl(46, 70%, 46%)
HSVhsv(46, 83%, 79%)
CMYKcmyk(0%, 19.3%, 82.7%, 20.8%)
CIE-LABlab(68.66, 2.65, 65.45)
CIE-LCHlch(68.66, 65.50, 87.68°)
OKLaboklab(73.09% -0.0004 0.1405)
OKLCHoklch(73.09% 0.14 90.2)
XYZxyz(37.7600, 38.8748, 7.1045)
Luminance0.3887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA323 #234ACA
analogous
#CA5023 #CAA323 #9ECA23
triadic
#CAA323 #23CAA3 #A323CA
tetradic
#CAA323 #23CA50 #234ACA #CA239E
square
#CAA323 #23CA50 #234ACA #CA239E
split-complementary
#CAA323 #239ECA #5023CA
monochromatic
#624F11 #96791A #CAA323 #E0BD4A #E9D07F

Accessibility & contrast

On white

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

On black

8.77
#CAA323 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA323
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA323#FFFFFF#000000##000000
##CAA3231.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#C0AC2C
Tritanopia (blue-blind)
#DB948C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #caa323;
/* rgb */ color: rgb(202, 163, 35);
/* oklch */ color: oklch(73.1% 0.140 90.2);
Tailwind
colors: {
  custom: {
    50: '#dfbd6b',
    500: '#caa323',
    950: '#000000',
  },
}
SCSS
$custom: #caa323;
$custom-light: #dfbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#caa323",
  "rgb": {
    "r": 202,
    "g": 163,
    "b": 35
  },
  "hsl": {
    "h": 45.988,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73087,
    "c": 0.14046,
    "h": 90.2
  },
  "luminance": 0.38872
}

Semantic roles & 50–950 ramp

primary
#CAA323
secondary
#788DD1
accent
#64ED3B
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #CAA323

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

Preview Lab → · Contrast checker → · Palette generator →

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