#CAA223#CAA223

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

Color values

HEX#CAA223
RGBrgb(202, 162, 35)
HSLhsl(46, 70%, 46%)
HSVhsv(46, 83%, 79%)
CMYKcmyk(0%, 19.8%, 82.7%, 20.8%)
CIE-LABlab(68.40, 3.19, 65.23)
CIE-LCHlch(68.40, 65.31, 87.20°)
OKLaboklab(72.88% 0.0012 0.14)
OKLCHoklch(72.88% 0.14 89.5)
XYZxyz(37.5832, 38.5211, 7.0456)
Luminance0.3852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA223 #234BCA
analogous
#CA4F23 #CAA223 #9FCA23
triadic
#CAA223 #23CAA2 #A223CA
tetradic
#CAA223 #23CA4F #234BCA #CA239F
square
#CAA223 #23CA4F #234BCA #CA239F
split-complementary
#CAA223 #239FCA #4F23CA
monochromatic
#624E11 #96781A #CAA223 #E0BC4A #E9CF7F

Accessibility & contrast

On white

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

On black

8.70
#CAA223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA223
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA223#FFFFFF#000000##000000
##CAA2231.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caa223;
/* rgb */ color: rgb(202, 162, 35);
/* oklch */ color: oklch(72.9% 0.140 89.5);
Tailwind
colors: {
  custom: {
    50: '#dfbd6b',
    500: '#caa223',
    950: '#000000',
  },
}
SCSS
$custom: #caa223;
$custom-light: #dfbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#caa223",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 45.629,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72884,
    "c": 0.13997,
    "h": 89.5
  },
  "luminance": 0.38519
}

Semantic roles & 50–950 ramp

primary
#CAA223
secondary
#788DD1
accent
#65ED3B
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #CAA223

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

Preview Lab → · Contrast checker → · Palette generator →

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