#CAC475#CAC475

#CAC475 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.101 H 104.6°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CAC475
RGBrgb(202, 196, 117)
HSLhsl(56, 45%, 63%)
HSVhsv(56, 42%, 79%)
CMYKcmyk(0%, 3%, 42.1%, 20.8%)
CIE-LABlab(78.06, -9.20, 40.33)
CIE-LCHlch(78.06, 41.36, 102.85°)
OKLaboklab(80.77% -0.0255 0.0977)
OKLCHoklch(80.77% 0.101 104.6)
XYZxyz(47.3088, 53.3220, 24.6262)
Luminance0.5332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC475 #757BCA
analogous
#CA9A75 #CAC475 #A5CA75
triadic
#CAC475 #75CAC4 #C475CA
tetradic
#CAC475 #75CA9A #757BCA #CA75A5
square
#CAC475 #75CA9A #757BCA #CA75A5
split-complementary
#CAC475 #75A5CA #9A75CA
monochromatic
#8E8837 #B9B149 #CAC475 #DBD7A1 #ECEACD

Accessibility & contrast

On white

1.80
#CAC475 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#CAC475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC475
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC475#FFFFFF#000000##000000
##CAC4751.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF6F
Deuteranopia (green-blind)
#D3C378
Tritanopia (blue-blind)
#D5BAB1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac475;
/* rgb */ color: rgb(202, 196, 117);
/* oklch */ color: oklch(80.8% 0.101 104.6);
Tailwind
colors: {
  custom: {
    50: '#dbd59e',
    500: '#cac475',
    950: '#000000',
  },
}
SCSS
$custom: #cac475;
$custom-light: #dbd59e;
$custom-dark: #000000;
JSON
{
  "hex": "#cac475",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 117
  },
  "hsl": {
    "h": 55.765,
    "s": 44.503,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8077,
    "c": 0.10098,
    "h": 104.6
  },
  "luminance": 0.53321
}

Semantic roles & 50–950 ramp

primary
#CAC475
secondary
#4E5395
accent
#38B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CAC475

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

Preview Lab → · Contrast checker → · Palette generator →

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