#CAC15F#CAC15F

#CAC15F is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.8% C 0.121 H 104.0°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CAC15F
RGBrgb(202, 193, 95)
HSLhsl(55, 50%, 58%)
HSVhsv(55, 53%, 79%)
CMYKcmyk(0%, 4.5%, 53%, 20.8%)
CIE-LABlab(77.00, -9.72, 49.82)
CIE-LCHlch(77.00, 50.76, 101.04°)
OKLaboklab(79.83% -0.0292 0.117)
OKLCHoklch(79.83% 0.121 104)
XYZxyz(45.4940, 51.5242, 18.3730)
Luminance0.5152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC15F #5F68CA
analogous
#CA8B5F #CAC15F #9DCA5F
triadic
#CAC15F #5FCAC1 #C15FCA
tetradic
#CAC15F #5FCA8B #5F68CA #CA5F9D
square
#CAC15F #5FCA8B #5F68CA #CA5F9D
split-complementary
#CAC15F #5F9DCA #8B5FCA
monochromatic
#837C2B #B1A73B #CAC15F #D9D38D #E8E5BB

Accessibility & contrast

On white

1.86
#CAC15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#CAC15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC15F
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC15F#FFFFFF#000000##000000
##CAC15F1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB56
Deuteranopia (green-blind)
#D3C064
Tritanopia (blue-blind)
#D7B6AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac15f;
/* rgb */ color: rgb(202, 193, 95);
/* oklch */ color: oklch(79.8% 0.121 104.0);
Tailwind
colors: {
  custom: {
    50: '#dcd38f',
    500: '#cac15f',
    950: '#000000',
  },
}
SCSS
$custom: #cac15f;
$custom-light: #dcd38f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac15f",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 95
  },
  "hsl": {
    "h": 54.953,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79832,
    "c": 0.12055,
    "h": 104
  },
  "luminance": 0.51523
}

Semantic roles & 50–950 ramp

primary
#CAC15F
secondary
#43498B
accent
#5ADA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC15F

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

Preview Lab → · Contrast checker → · Palette generator →

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