#CAAA48#CAAA48

#CAAA48 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.8% C 0.122 H 91.0°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#CAAA48
RGBrgb(202, 170, 72)
HSLhsl(45, 55%, 54%)
HSVhsv(45, 64%, 79%)
CMYKcmyk(0%, 15.8%, 64.4%, 20.8%)
CIE-LABlab(70.72, 0.62, 53.38)
CIE-LCHlch(70.72, 53.38, 89.34°)
OKLaboklab(74.79% -0.0022 0.1218)
OKLCHoklch(74.79% 0.122 91)
XYZxyz(39.9035, 41.7761, 12.0914)
Luminance0.4177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAA48 #4868CA
analogous
#CA6948 #CAAA48 #A9CA48
triadic
#CAAA48 #48CAAA #AA48CA
tetradic
#CAAA48 #48CA69 #4868CA #CA48A9
square
#CAAA48 #48CA69 #4868CA #CA48A9
split-complementary
#CAAA48 #48A9CA #6948CA
monochromatic
#766122 #A58830 #CAAA48 #D8C077 #E5D6A7

Accessibility & contrast

On white

2.24
#CAAA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#CAAA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAA48
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAA48#FFFFFF#000000##000000
##CAAA481.002.249.359.35
#FFFFFF2.241.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA83D
Deuteranopia (green-blind)
#C3B14C
Tritanopia (blue-blind)
#DA9D95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caaa48;
/* rgb */ color: rgb(202, 170, 72);
/* oklch */ color: oklch(74.8% 0.122 91.0);
Tailwind
colors: {
  custom: {
    50: '#ddc37f',
    500: '#caaa48',
    950: '#000000',
  },
}
SCSS
$custom: #caaa48;
$custom-light: #ddc37f;
$custom-dark: #000000;
JSON
{
  "hex": "#caaa48",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 72
  },
  "hsl": {
    "h": 45.231,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.74786,
    "c": 0.12178,
    "h": 91
  },
  "luminance": 0.41774
}

Semantic roles & 50–950 ramp

primary
#CAAA48
secondary
#9BA9D3
accent
#6EDE49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CAAA48

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

Preview Lab → · Contrast checker → · Palette generator →

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