#CAAA47#CAAA47

#CAAA47 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.8% C 0.123 H 91.2°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#CAAA47
RGBrgb(202, 170, 71)
HSLhsl(45, 55%, 54%)
HSVhsv(45, 65%, 79%)
CMYKcmyk(0%, 15.8%, 64.9%, 20.8%)
CIE-LABlab(70.71, 0.55, 53.82)
CIE-LCHlch(70.71, 53.82, 89.41°)
OKLaboklab(74.78% -0.0025 0.1225)
OKLCHoklch(74.78% 0.123 91.2)
XYZxyz(39.8712, 41.7632, 11.9210)
Luminance0.4176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAA47 #4767CA
analogous
#CA6847 #CAAA47 #A8CA47
triadic
#CAAA47 #47CAAA #AA47CA
tetradic
#CAAA47 #47CA68 #4767CA #CA47A8
square
#CAAA47 #47CA68 #4767CA #CA47A8
split-complementary
#CAAA47 #47A8CA #6847CA
monochromatic
#756122 #A4882F #CAAA47 #D8C077 #E5D6A6

Accessibility & contrast

On white

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

On black

9.35
#CAAA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAA47
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAA47#FFFFFF#000000##000000
##CAAA471.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83C
Deuteranopia (green-blind)
#C3B14C
Tritanopia (blue-blind)
#DA9D95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caaa47;
/* rgb */ color: rgb(202, 170, 71);
/* oklch */ color: oklch(74.8% 0.123 91.2);
Tailwind
colors: {
  custom: {
    50: '#ddc37e',
    500: '#caaa47',
    950: '#000000',
  },
}
SCSS
$custom: #caaa47;
$custom-light: #ddc37e;
$custom-dark: #000000;
JSON
{
  "hex": "#caaa47",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 71
  },
  "hsl": {
    "h": 45.344,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.74776,
    "c": 0.12256,
    "h": 91.2
  },
  "luminance": 0.41761
}

Semantic roles & 50–950 ramp

primary
#CAAA47
secondary
#9AA8D2
accent
#6EDF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CAAA47

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

Preview Lab → · Contrast checker → · Palette generator →

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