#CAA83F#CAA83F

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

Color values

HEX#CAA83F
RGBrgb(202, 168, 63)
HSLhsl(45, 57%, 52%)
HSVhsv(45, 69%, 79%)
CMYKcmyk(0%, 16.8%, 68.8%, 20.8%)
CIE-LABlab(70.12, 1.15, 56.68)
CIE-LCHlch(70.12, 56.69, 88.84°)
OKLaboklab(74.29% -0.0017 0.1273)
OKLCHoklch(74.29% 0.127 90.8)
XYZxyz(39.2590, 40.9230, 10.5328)
Luminance0.4092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA83F #3F61CA
analogous
#CA633F #CAA83F #A6CA3F
triadic
#CAA83F #3FCAA8 #A83FCA
tetradic
#CAA83F #3FCA63 #3F61CA #CA3FA6
square
#CAA83F #3FCA63 #3F61CA #CA3FA6
split-complementary
#CAA83F #3FA6CA #633FCA
monochromatic
#705C1F #A0832C #CAA83F #D7BE6F #E4D39F

Accessibility & contrast

On white

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

On black

9.18
#CAA83F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA83F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA83F#FFFFFF#000000##000000
##CAA83F1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA631
Deuteranopia (green-blind)
#C3AF44
Tritanopia (blue-blind)
#DA9B92
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #caa83f;
/* rgb */ color: rgb(202, 168, 63);
/* oklch */ color: oklch(74.3% 0.127 90.8);
Tailwind
colors: {
  custom: {
    50: '#dec17a',
    500: '#caa83f',
    950: '#000000',
  },
}
SCSS
$custom: #caa83f;
$custom-light: #dec17a;
$custom-dark: #000000;
JSON
{
  "hex": "#caa83f",
  "rgb": {
    "r": 202,
    "g": 168,
    "b": 63
  },
  "hsl": {
    "h": 45.324,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74293,
    "c": 0.12731,
    "h": 90.8
  },
  "luminance": 0.40921
}

Semantic roles & 50–950 ramp

primary
#CAA83F
secondary
#94A3D1
accent
#6DE048
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CAA83F

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

Preview Lab → · Contrast checker → · Palette generator →

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