#CAC54C#CAC54C

#CAC54C is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.5% C 0.141 H 106.9°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#CAC54C
RGBrgb(202, 197, 76)
HSLhsl(58, 54%, 55%)
HSVhsv(58, 62%, 79%)
CMYKcmyk(0%, 2.5%, 62.4%, 20.8%)
CIE-LABlab(77.88, -13.16, 59.35)
CIE-LCHlch(77.88, 60.79, 102.50°)
OKLaboklab(80.48% -0.0411 0.135)
OKLCHoklch(80.48% 0.141 106.9)
XYZxyz(45.6294, 53.0123, 14.6649)
Luminance0.5301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC54C #4C51CA
analogous
#CA864C #CAC54C #90CA4C
triadic
#CAC54C #4CCAC5 #C54CCA
tetradic
#CAC54C #4CCA86 #4C51CA #CA4C90
square
#CAC54C #4CCA86 #4C51CA #CA4C90
split-complementary
#CAC54C #4C90CA #864CCA
monochromatic
#787524 #A7A332 #CAC54C #D8D47B #E6E4AA

Accessibility & contrast

On white

1.81
#CAC54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#CAC54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC54C
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC54C#FFFFFF#000000##000000
##CAC54C1.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3D
Deuteranopia (green-blind)
#D7C353
Tritanopia (blue-blind)
#D8B9AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac54c;
/* rgb */ color: rgb(202, 197, 76);
/* oklch */ color: oklch(80.5% 0.141 106.9);
Tailwind
colors: {
  custom: {
    50: '#ddd683',
    500: '#cac54c',
    950: '#000000',
  },
}
SCSS
$custom: #cac54c;
$custom-light: #ddd683;
$custom-dark: #000000;
JSON
{
  "hex": "#cac54c",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 76
  },
  "hsl": {
    "h": 57.619,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80479,
    "c": 0.14111,
    "h": 106.9
  },
  "luminance": 0.53011
}

Semantic roles & 50–950 ramp

primary
#CAC54C
secondary
#3A3D80
accent
#50DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC54C

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

Preview Lab → · Contrast checker → · Palette generator →

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