#CAA819#CAA819

#CAA819 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 74.1% C 0.147 H 93.7°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#CAA819
RGBrgb(202, 168, 25)
HSLhsl(48, 78%, 45%)
HSVhsv(48, 88%, 79%)
CMYKcmyk(0%, 16.8%, 87.6%, 20.8%)
CIE-LABlab(69.92, -0.27, 69.05)
CIE-LCHlch(69.92, 69.05, 90.22°)
OKLaboklab(74.07% -0.0094 0.1464)
OKLCHoklch(74.07% 0.147 93.7)
XYZxyz(38.5376, 40.6344, 6.7329)
Luminance0.4063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA819 #193BCA
analogous
#CA5019 #CAA819 #93CA19
triadic
#CAA819 #19CAA8 #A819CA
tetradic
#CAA819 #19CA50 #193BCA #CA1993
square
#CAA819 #19CA50 #193BCA #CA1993
split-complementary
#CAA819 #1993CA #5019CA
monochromatic
#5D4D0C #947B12 #CAA819 #E7C53A #EDD570

Accessibility & contrast

On white

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

On black

9.13
#CAA819 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA819
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA819#FFFFFF#000000##000000
##CAA8191.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA500
Deuteranopia (green-blind)
#C4AF26
Tritanopia (blue-blind)
#DB998F
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #caa819;
/* rgb */ color: rgb(202, 168, 25);
/* oklch */ color: oklch(74.1% 0.147 93.7);
Tailwind
colors: {
  custom: {
    50: '#dfc168',
    500: '#caa819',
    950: '#000000',
  },
}
SCSS
$custom: #caa819;
$custom-light: #dfc168;
$custom-dark: #000000;
JSON
{
  "hex": "#caa819",
  "rgb": {
    "r": 202,
    "g": 168,
    "b": 25
  },
  "hsl": {
    "h": 48.475,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74068,
    "c": 0.14671,
    "h": 93.7
  },
  "luminance": 0.40632
}

Semantic roles & 50–950 ramp

primary
#CAA819
secondary
#6B7FD4
accent
#58F433
background
#FEFBF6
surface
#FDF7EB
border
#D5D0C6
text
#161207
muted
#84817A

Preview Lab

Preview with #CAA819

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

Preview Lab → · Contrast checker → · Palette generator →

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