#CAA83A#CAA83A

#CAA83A is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.3% C 0.131 H 91.3°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#CAA83A
RGBrgb(202, 168, 58)
HSLhsl(46, 58%, 51%)
HSVhsv(46, 71%, 79%)
CMYKcmyk(0%, 16.8%, 71.3%, 20.8%)
CIE-LABlab(70.08, 0.89, 58.70)
CIE-LCHlch(70.08, 58.71, 89.13°)
OKLaboklab(74.25% -0.0031 0.1307)
OKLCHoklch(74.25% 0.131 91.3)
XYZxyz(39.1256, 40.8696, 9.8300)
Luminance0.4087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA83A #3A5CCA
analogous
#CA603A #CAA83A #A4CA3A
triadic
#CAA83A #3ACAA8 #A83ACA
tetradic
#CAA83A #3ACA60 #3A5CCA #CA3AA4
square
#CAA83A #3ACA60 #3A5CCA #CA3AA4
split-complementary
#CAA83A #3AA4CA #603ACA
monochromatic
#6C5A1D #9D822A #CAA83A #D7BD6A #E4D39A

Accessibility & contrast

On white

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

On black

9.17
#CAA83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA83A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA83A#FFFFFF#000000##000000
##CAA83A1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA62A
Deuteranopia (green-blind)
#C3AF40
Tritanopia (blue-blind)
#DA9A92
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #caa83a;
/* rgb */ color: rgb(202, 168, 58);
/* oklch */ color: oklch(74.3% 0.131 91.3);
Tailwind
colors: {
  custom: {
    50: '#dec177',
    500: '#caa83a',
    950: '#000000',
  },
}
SCSS
$custom: #caa83a;
$custom-light: #dec177;
$custom-dark: #000000;
JSON
{
  "hex": "#caa83a",
  "rgb": {
    "r": 202,
    "g": 168,
    "b": 58
  },
  "hsl": {
    "h": 45.833,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74251,
    "c": 0.13073,
    "h": 91.3
  },
  "luminance": 0.40867
}

Semantic roles & 50–950 ramp

primary
#CAA83A
secondary
#909FD0
accent
#6BE147
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CAA83A

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

Preview Lab → · Contrast checker → · Palette generator →

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