#CAA931#CAA931

#CAA931 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.4% C 0.137 H 92.8°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#CAA931
RGBrgb(202, 169, 49)
HSLhsl(47, 61%, 49%)
HSVhsv(47, 76%, 79%)
CMYKcmyk(0%, 16.3%, 75.7%, 20.8%)
CIE-LABlab(70.29, -0.05, 62.33)
CIE-LCHlch(70.29, 62.33, 90.05°)
OKLaboklab(74.39% -0.0067 0.1367)
OKLCHoklch(74.39% 0.137 92.8)
XYZxyz(39.1017, 41.1566, 8.7896)
Luminance0.4115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA931 #3152CA
analogous
#CA5D31 #CAA931 #9FCA31
triadic
#CAA931 #31CAA9 #A931CA
tetradic
#CAA931 #31CA5D #3152CA #CA319F
square
#CAA931 #31CA5D #3152CA #CA319F
split-complementary
#CAA931 #319FCA #5D31CA
monochromatic
#675719 #998025 #CAA931 #D8BE60 #E4D291

Accessibility & contrast

On white

2.27
#CAA931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#CAA931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA931
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA931#FFFFFF#000000##000000
##CAA9311.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA61B
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#DB9B92
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #caa931;
/* rgb */ color: rgb(202, 169, 49);
/* oklch */ color: oklch(74.4% 0.137 92.8);
Tailwind
colors: {
  custom: {
    50: '#dec272',
    500: '#caa931',
    950: '#000000',
  },
}
SCSS
$custom: #caa931;
$custom-light: #dec272;
$custom-dark: #000000;
JSON
{
  "hex": "#caa931",
  "rgb": {
    "r": 202,
    "g": 169,
    "b": 49
  },
  "hsl": {
    "h": 47.059,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74391,
    "c": 0.13683,
    "h": 92.8
  },
  "luminance": 0.41154
}

Semantic roles & 50–950 ramp

primary
#CAA931
secondary
#8897CF
accent
#66E444
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #CAA931

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

Preview Lab → · Contrast checker → · Palette generator →

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