#CAA73B#CAA73B

#CAA73B is a light, vivid yellow. Relative luminance 0.405; OKLCH L 74.1% C 0.129 H 90.6°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#CAA73B
RGBrgb(202, 167, 59)
HSLhsl(45, 57%, 51%)
HSVhsv(45, 71%, 79%)
CMYKcmyk(0%, 17.3%, 70.8%, 20.8%)
CIE-LABlab(69.83, 1.47, 58.04)
CIE-LCHlch(69.83, 58.06, 88.55°)
OKLaboklab(74.06% -0.0013 0.1295)
OKLCHoklch(74.06% 0.129 90.6)
XYZxyz(38.9674, 40.5121, 9.9040)
Luminance0.4051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA73B #3B5ECA
analogous
#CA5F3B #CAA73B #A5CA3B
triadic
#CAA73B #3BCAA7 #A73BCA
tetradic
#CAA73B #3BCA5F #3B5ECA #CA3BA5
square
#CAA73B #3BCA5F #3B5ECA #CA3BA5
split-complementary
#CAA73B #3BA5CA #5F3BCA
monochromatic
#6D5A1E #9D812B #CAA73B #D7BD6B #E4D29B

Accessibility & contrast

On white

2.31
#CAA73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#CAA73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA73B
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA73B#FFFFFF#000000##000000
##CAA73B1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A52C
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#DA9991
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #caa73b;
/* rgb */ color: rgb(202, 167, 59);
/* oklch */ color: oklch(74.1% 0.129 90.6);
Tailwind
colors: {
  custom: {
    50: '#dec077',
    500: '#caa73b',
    950: '#000000',
  },
}
SCSS
$custom: #caa73b;
$custom-light: #dec077;
$custom-dark: #000000;
JSON
{
  "hex": "#caa73b",
  "rgb": {
    "r": 202,
    "g": 167,
    "b": 59
  },
  "hsl": {
    "h": 45.315,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74055,
    "c": 0.12949,
    "h": 90.6
  },
  "luminance": 0.4051
}

Semantic roles & 50–950 ramp

primary
#CAA73B
secondary
#91A0D0
accent
#6DE147
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CAA73B

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

Preview Lab → · Contrast checker → · Palette generator →

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