#CAC154#CAC154

#CAC154 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.7% C 0.131 H 104.6°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#CAC154
RGBrgb(202, 193, 84)
HSLhsl(55, 53%, 56%)
HSVhsv(55, 58%, 79%)
CMYKcmyk(0%, 4.5%, 58.4%, 20.8%)
CIE-LABlab(76.88, -10.58, 54.77)
CIE-LCHlch(76.88, 55.79, 100.93°)
OKLaboklab(79.71% -0.0329 0.1264)
OKLCHoklch(79.71% 0.131 104.6)
XYZxyz(45.0288, 51.3381, 15.9231)
Luminance0.5134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC154 #545DCA
analogous
#CA8654 #CAC154 #98CA54
triadic
#CAC154 #54CAC1 #C154CA
tetradic
#CAC154 #54CA86 #545DCA #CA5498
square
#CAC154 #54CA86 #545DCA #CA5498
split-complementary
#CAC154 #5498CA #8654CA
monochromatic
#7D7627 #ACA335 #CAC154 #D8D283 #E7E3B1

Accessibility & contrast

On white

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

On black

11.27
#CAC154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC154
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC154#FFFFFF#000000##000000
##CAC1541.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB48
Deuteranopia (green-blind)
#D4C05A
Tritanopia (blue-blind)
#D8B5A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac154;
/* rgb */ color: rgb(202, 193, 84);
/* oklch */ color: oklch(79.7% 0.131 104.6);
Tailwind
colors: {
  custom: {
    50: '#ddd388',
    500: '#cac154',
    950: '#000000',
  },
}
SCSS
$custom: #cac154;
$custom-light: #ddd388;
$custom-dark: #000000;
JSON
{
  "hex": "#cac154",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 55.424,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79707,
    "c": 0.13057,
    "h": 104.6
  },
  "luminance": 0.51337
}

Semantic roles & 50–950 ramp

primary
#CAC154
secondary
#3D4385
accent
#57DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC154

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

Preview Lab → · Contrast checker → · Palette generator →

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