#CAC55E#CAC55E

#CAC55E is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.7% C 0.126 H 106.4°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CAC55E
RGBrgb(202, 197, 94)
HSLhsl(57, 50%, 58%)
HSVhsv(57, 53%, 79%)
CMYKcmyk(0%, 2.5%, 53.5%, 20.8%)
CIE-LABlab(78.05, -11.85, 51.52)
CIE-LCHlch(78.05, 52.86, 102.95°)
OKLaboklab(80.67% -0.0354 0.1205)
OKLCHoklch(80.67% 0.126 106.4)
XYZxyz(46.3451, 53.2986, 18.4339)
Luminance0.5330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC55E #5E63CA
analogous
#CA8F5E #CAC55E #99CA5E
triadic
#CAC55E #5ECAC5 #C55ECA
tetradic
#CAC55E #5ECA8F #5E63CA #CA5E99
square
#CAC55E #5ECA8F #5E63CA #CA5E99
split-complementary
#CAC55E #5E99CA #8F5ECA
monochromatic
#837F2B #B1AB3A #CAC55E #D9D68C #E8E6BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC55E#FFFFFF#000000##000000
##CAC55E1.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)
#D3BE54
Deuteranopia (green-blind)
#D6C363
Tritanopia (blue-blind)
#D7BAAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac55e;
/* rgb */ color: rgb(202, 197, 94);
/* oklch */ color: oklch(80.7% 0.126 106.4);
Tailwind
colors: {
  custom: {
    50: '#dcd68f',
    500: '#cac55e',
    950: '#000000',
  },
}
SCSS
$custom: #cac55e;
$custom-light: #dcd68f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac55e",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 94
  },
  "hsl": {
    "h": 57.222,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80668,
    "c": 0.12562,
    "h": 106.4
  },
  "luminance": 0.53297
}

Semantic roles & 50–950 ramp

primary
#CAC55E
secondary
#42458A
accent
#54DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC55E

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

Preview Lab → · Contrast checker → · Palette generator →

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