#CAA225#CAA225

#CAA225 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.9% C 0.139 H 89.4°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CAA225
RGBrgb(202, 162, 37)
HSLhsl(45, 69%, 47%)
HSVhsv(45, 82%, 79%)
CMYKcmyk(0%, 19.8%, 81.7%, 20.8%)
CIE-LABlab(68.41, 3.25, 64.64)
CIE-LCHlch(68.41, 64.72, 87.13°)
OKLaboklab(72.89% 0.0015 0.1391)
OKLCHoklch(72.89% 0.139 89.4)
XYZxyz(37.6137, 38.5333, 7.2065)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA225 #254DCA
analogous
#CA5025 #CAA225 #9FCA25
triadic
#CAA225 #25CAA2 #A225CA
tetradic
#CAA225 #25CA50 #254DCA #CA259F
square
#CAA225 #25CA50 #254DCA #CA259F
split-complementary
#CAA225 #259FCA #5025CA
monochromatic
#634F12 #96791C #CAA225 #DFBB4E #E8CF81

Accessibility & contrast

On white

2.41
#CAA225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#CAA225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA225
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA225#FFFFFF#000000##000000
##CAA2251.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#BFAB2D
Tritanopia (blue-blind)
#DB938B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #caa225;
/* rgb */ color: rgb(202, 162, 37);
/* oklch */ color: oklch(72.9% 0.139 89.4);
Tailwind
colors: {
  custom: {
    50: '#dfbd6c',
    500: '#caa225',
    950: '#000000',
  },
}
SCSS
$custom: #caa225;
$custom-light: #dfbd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#caa225",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 45.455,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72893,
    "c": 0.13912,
    "h": 89.4
  },
  "luminance": 0.38531
}

Semantic roles & 50–950 ramp

primary
#CAA225
secondary
#7A8FD1
accent
#67EC3C
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #CAA225

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

Preview Lab → · Contrast checker → · Palette generator →

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