#CAA823#CAA823

#CAA823 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.1% C 0.143 H 93.2°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#CAA823
RGBrgb(202, 168, 35)
HSLhsl(48, 70%, 46%)
HSVhsv(48, 83%, 79%)
CMYKcmyk(0%, 16.8%, 82.7%, 20.8%)
CIE-LABlab(69.96, -0.02, 66.56)
CIE-LCHlch(69.96, 66.56, 90.01°)
OKLaboklab(74.11% -0.0079 0.1429)
OKLCHoklch(74.11% 0.143 93.2)
XYZxyz(38.6654, 40.6856, 7.4063)
Luminance0.4068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA823 #2345CA
analogous
#CA5423 #CAA823 #99CA23
triadic
#CAA823 #23CAA8 #A823CA
tetradic
#CAA823 #23CA54 #2345CA #CA2399
square
#CAA823 #23CA54 #2345CA #CA2399
split-complementary
#CAA823 #2399CA #5423CA
monochromatic
#625111 #967D1A #CAA823 #E0C14A #E9D37F

Accessibility & contrast

On white

2.30
#CAA823 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#CAA823 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA823
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA823#FFFFFF#000000##000000
##CAA8231.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#C4AF2D
Tritanopia (blue-blind)
#DB9990
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #caa823;
/* rgb */ color: rgb(202, 168, 35);
/* oklch */ color: oklch(74.1% 0.143 93.2);
Tailwind
colors: {
  custom: {
    50: '#dfc16b',
    500: '#caa823',
    950: '#000000',
  },
}
SCSS
$custom: #caa823;
$custom-light: #dfc16b;
$custom-dark: #000000;
JSON
{
  "hex": "#caa823",
  "rgb": {
    "r": 202,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 47.784,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74108,
    "c": 0.1431,
    "h": 93.2
  },
  "luminance": 0.40683
}

Semantic roles & 50–950 ramp

primary
#CAA823
secondary
#788AD1
accent
#5FED3B
background
#FEFBF6
surface
#FDF7EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #CAA823

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

Preview Lab → · Contrast checker → · Palette generator →

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