#CAAA3A#CAAA3A

#CAAA3A is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.7% C 0.132 H 92.7°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#CAAA3A
RGBrgb(202, 170, 58)
HSLhsl(47, 58%, 51%)
HSVhsv(47, 71%, 79%)
CMYKcmyk(0%, 15.8%, 71.3%, 20.8%)
CIE-LABlab(70.60, -0.17, 59.22)
CIE-LCHlch(70.60, 59.22, 90.17°)
OKLaboklab(74.66% -0.0061 0.1318)
OKLCHoklch(74.66% 0.132 92.7)
XYZxyz(39.4977, 41.6138, 9.9540)
Luminance0.4161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAA3A #3A5ACA
analogous
#CA623A #CAAA3A #A2CA3A
triadic
#CAAA3A #3ACAAA #AA3ACA
tetradic
#CAAA3A #3ACA62 #3A5ACA #CA3AA2
square
#CAAA3A #3ACA62 #3A5ACA #CA3AA2
split-complementary
#CAAA3A #3AA2CA #623ACA
monochromatic
#6C5B1D #9D832A #CAAA3A #D7BF6A #E4D49A

Accessibility & contrast

On white

2.25
#CAAA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#CAAA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAA3A
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAA3A#FFFFFF#000000##000000
##CAAA3A1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72A
Deuteranopia (green-blind)
#C4B140
Tritanopia (blue-blind)
#DA9C93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caaa3a;
/* rgb */ color: rgb(202, 170, 58);
/* oklch */ color: oklch(74.7% 0.132 92.7);
Tailwind
colors: {
  custom: {
    50: '#dec277',
    500: '#caaa3a',
    950: '#000000',
  },
}
SCSS
$custom: #caaa3a;
$custom-light: #dec277;
$custom-dark: #000000;
JSON
{
  "hex": "#caaa3a",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 58
  },
  "hsl": {
    "h": 46.667,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74661,
    "c": 0.13193,
    "h": 92.7
  },
  "luminance": 0.41611
}

Semantic roles & 50–950 ramp

primary
#CAAA3A
secondary
#909ED0
accent
#69E147
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CAAA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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