#CAC050#CAC050

#CAC050 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.5% C 0.133 H 104.2°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#CAC050
RGBrgb(202, 192, 80)
HSLhsl(55, 54%, 55%)
HSVhsv(55, 60%, 79%)
CMYKcmyk(0%, 5%, 60.4%, 20.8%)
CIE-LABlab(76.58, -10.35, 56.22)
CIE-LCHlch(76.58, 57.16, 100.43°)
OKLaboklab(79.45% -0.0326 0.1289)
OKLCHoklch(79.45% 0.133 104.2)
XYZxyz(44.6563, 50.8366, 15.0480)
Luminance0.5083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC050 #505ACA
analogous
#CA8350 #CAC050 #97CA50
triadic
#CAC050 #50CAC0 #C050CA
tetradic
#CAC050 #50CA83 #505ACA #CA5097
square
#CAC050 #50CA83 #505ACA #CA5097
split-complementary
#CAC050 #5097CA #8350CA
monochromatic
#7A7325 #A9A033 #CAC050 #D8D17F #E6E2AE

Accessibility & contrast

On white

1.88
#CAC050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#CAC050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC050
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC050#FFFFFF#000000##000000
##CAC0501.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA43
Deuteranopia (green-blind)
#D3BF56
Tritanopia (blue-blind)
#D8B4A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac050;
/* rgb */ color: rgb(202, 192, 80);
/* oklch */ color: oklch(79.5% 0.133 104.2);
Tailwind
colors: {
  custom: {
    50: '#ddd286',
    500: '#cac050',
    950: '#000000',
  },
}
SCSS
$custom: #cac050;
$custom-light: #ddd286;
$custom-dark: #000000;
JSON
{
  "hex": "#cac050",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 55.082,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79454,
    "c": 0.13299,
    "h": 104.2
  },
  "luminance": 0.50835
}

Semantic roles & 50–950 ramp

primary
#CAC050
secondary
#3B4183
accent
#57DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC050

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

Preview Lab → · Contrast checker → · Palette generator →

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