#CAC550#CAC550

#CAC550 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.5% C 0.138 H 106.8°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CAC550
RGBrgb(202, 197, 80)
HSLhsl(58, 54%, 55%)
HSVhsv(58, 60%, 79%)
CMYKcmyk(0%, 2.5%, 60.4%, 20.8%)
CIE-LABlab(77.92, -12.89, 57.67)
CIE-LCHlch(77.92, 59.10, 102.60°)
OKLaboklab(80.52% -0.0399 0.132)
OKLCHoklch(80.52% 0.138 106.8)
XYZxyz(45.7728, 53.0697, 15.4202)
Luminance0.5307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC550 #5055CA
analogous
#CA8850 #CAC550 #92CA50
triadic
#CAC550 #50CAC5 #C550CA
tetradic
#CAC550 #50CA88 #5055CA #CA5092
square
#CAC550 #50CA88 #5055CA #CA5092
split-complementary
#CAC550 #5092CA #8850CA
monochromatic
#7A7725 #A9A533 #CAC550 #D8D57F #E6E4AE

Accessibility & contrast

On white

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

On black

11.61
#CAC550 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC550
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC550#FFFFFF#000000##000000
##CAC5501.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE42
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#D8B9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac550;
/* rgb */ color: rgb(202, 197, 80);
/* oklch */ color: oklch(80.5% 0.138 106.8);
Tailwind
colors: {
  custom: {
    50: '#ddd686',
    500: '#cac550',
    950: '#000000',
  },
}
SCSS
$custom: #cac550;
$custom-light: #ddd686;
$custom-dark: #000000;
JSON
{
  "hex": "#cac550",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 80
  },
  "hsl": {
    "h": 57.541,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80517,
    "c": 0.13791,
    "h": 106.8
  },
  "luminance": 0.53068
}

Semantic roles & 50–950 ramp

primary
#CAC550
secondary
#3B3E83
accent
#51DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC550

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

Preview Lab → · Contrast checker → · Palette generator →

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