#CAA423#CAA423

#CAA423 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 73.3% C 0.141 H 90.8°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CAA423
RGBrgb(202, 164, 35)
HSLhsl(46, 70%, 46%)
HSVhsv(46, 83%, 79%)
CMYKcmyk(0%, 18.8%, 82.7%, 20.8%)
CIE-LABlab(68.92, 2.12, 65.67)
CIE-LCHlch(68.92, 65.70, 88.16°)
OKLaboklab(73.29% -0.0019 0.1409)
OKLCHoklch(73.29% 0.141 90.8)
XYZxyz(37.9383, 39.2313, 7.1640)
Luminance0.3923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA423 #2349CA
analogous
#CA5023 #CAA423 #9DCA23
triadic
#CAA423 #23CAA4 #A423CA
tetradic
#CAA423 #23CA50 #2349CA #CA239D
square
#CAA423 #23CA50 #2349CA #CA239D
split-complementary
#CAA423 #239DCA #5023CA
monochromatic
#624F11 #967A1A #CAA423 #E0BE4A #E9D17F

Accessibility & contrast

On white

2.37
#CAA423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#CAA423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA423
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA423#FFFFFF#000000##000000
##CAA4231.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#C1AD2C
Tritanopia (blue-blind)
#DB958D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #caa423;
/* rgb */ color: rgb(202, 164, 35);
/* oklch */ color: oklch(73.3% 0.141 90.8);
Tailwind
colors: {
  custom: {
    50: '#dfbe6b',
    500: '#caa423',
    950: '#000000',
  },
}
SCSS
$custom: #caa423;
$custom-light: #dfbe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#caa423",
  "rgb": {
    "r": 202,
    "g": 164,
    "b": 35
  },
  "hsl": {
    "h": 46.347,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7329,
    "c": 0.14095,
    "h": 90.8
  },
  "luminance": 0.39229
}

Semantic roles & 50–950 ramp

primary
#CAA423
secondary
#788CD1
accent
#63ED3B
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #CAA423

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

Preview Lab → · Contrast checker → · Palette generator →

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