#CAC15E#CAC15E

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

Color values

HEX#CAC15E
RGBrgb(202, 193, 94)
HSLhsl(55, 50%, 58%)
HSVhsv(55, 53%, 79%)
CMYKcmyk(0%, 4.5%, 53.5%, 20.8%)
CIE-LABlab(76.98, -9.81, 50.28)
CIE-LCHlch(76.98, 51.23, 101.04°)
OKLaboklab(79.82% -0.0295 0.1179)
OKLCHoklch(79.82% 0.122 104.1)
XYZxyz(45.4488, 51.5061, 18.1351)
Luminance0.5151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC15E #5E67CA
analogous
#CA8B5E #CAC15E #9DCA5E
triadic
#CAC15E #5ECAC1 #C15ECA
tetradic
#CAC15E #5ECA8B #5E67CA #CA5E9D
square
#CAC15E #5ECA8B #5E67CA #CA5E9D
split-complementary
#CAC15E #5E9DCA #8B5ECA
monochromatic
#837B2B #B1A73A #CAC15E #D9D38C #E8E4BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC15E#FFFFFF#000000##000000
##CAC15E1.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)
#D0BB55
Deuteranopia (green-blind)
#D3C063
Tritanopia (blue-blind)
#D7B6AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac15e;
/* rgb */ color: rgb(202, 193, 94);
/* oklch */ color: oklch(79.8% 0.121 104.1);
Tailwind
colors: {
  custom: {
    50: '#dcd38e',
    500: '#cac15e',
    950: '#000000',
  },
}
SCSS
$custom: #cac15e;
$custom-light: #dcd38e;
$custom-dark: #000000;
JSON
{
  "hex": "#cac15e",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 94
  },
  "hsl": {
    "h": 55,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.7982,
    "c": 0.1215,
    "h": 104.1
  },
  "luminance": 0.51505
}

Semantic roles & 50–950 ramp

primary
#CAC15E
secondary
#42488A
accent
#5ADA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC15E

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

Preview Lab → · Contrast checker → · Palette generator →

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