#CAA82E#CAA82E

#CAA82E is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.2% C 0.138 H 92.4°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#CAA82E
RGBrgb(202, 168, 46)
HSLhsl(47, 63%, 49%)
HSVhsv(47, 77%, 79%)
CMYKcmyk(0%, 16.8%, 77.2%, 20.8%)
CIE-LABlab(70.01, 0.36, 63.13)
CIE-LCHlch(70.01, 63.13, 89.67°)
OKLaboklab(74.17% -0.0059 0.1378)
OKLCHoklch(74.17% 0.138 92.4)
XYZxyz(38.8551, 40.7614, 8.4054)
Luminance0.4076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA82E #2E50CA
analogous
#CA5A2E #CAA82E #9ECA2E
triadic
#CAA82E #2ECAA8 #A82ECA
tetradic
#CAA82E #2ECA5A #2E50CA #CA2E9E
square
#CAA82E #2ECA5A #2E50CA #CA2E9E
split-complementary
#CAA82E #2E9ECA #5A2ECA
monochromatic
#665517 #987F23 #CAA82E #DABE5B #E5D28D

Accessibility & contrast

On white

2.29
#CAA82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#CAA82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA82E
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA82E#FFFFFF#000000##000000
##CAA82E1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA515
Deuteranopia (green-blind)
#C3AF36
Tritanopia (blue-blind)
#DB9A91
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #caa82e;
/* rgb */ color: rgb(202, 168, 46);
/* oklch */ color: oklch(74.2% 0.138 92.4);
Tailwind
colors: {
  custom: {
    50: '#dfc170',
    500: '#caa82e',
    950: '#000000',
  },
}
SCSS
$custom: #caa82e;
$custom-light: #dfc170;
$custom-dark: #000000;
JSON
{
  "hex": "#caa82e",
  "rgb": {
    "r": 202,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 46.923,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74167,
    "c": 0.13789,
    "h": 92.4
  },
  "luminance": 0.40759
}

Semantic roles & 50–950 ramp

primary
#CAA82E
secondary
#8495CF
accent
#66E642
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #CAA82E

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

Preview Lab → · Contrast checker → · Palette generator →

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