#CAC150#CAC150

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

Color values

HEX#CAC150
RGBrgb(202, 193, 80)
HSLhsl(56, 54%, 55%)
HSVhsv(56, 60%, 79%)
CMYKcmyk(0%, 4.5%, 60.4%, 20.8%)
CIE-LABlab(76.85, -10.86, 56.51)
CIE-LCHlch(76.85, 57.54, 100.88°)
OKLaboklab(79.67% -0.0341 0.1295)
OKLCHoklch(79.67% 0.134 104.8)
XYZxyz(44.8766, 51.2772, 15.1214)
Luminance0.5128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC150 #5059CA
analogous
#CA8450 #CAC150 #96CA50
triadic
#CAC150 #50CAC1 #C150CA
tetradic
#CAC150 #50CA84 #5059CA #CA5096
square
#CAC150 #50CA84 #5059CA #CA5096
split-complementary
#CAC150 #5096CA #8450CA
monochromatic
#7A7425 #A9A133 #CAC150 #D8D27F #E6E2AE

Accessibility & contrast

On white

1.87
#CAC150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#CAC150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC150
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC150#FFFFFF#000000##000000
##CAC1501.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac150;
/* rgb */ color: rgb(202, 193, 80);
/* oklch */ color: oklch(79.7% 0.134 104.8);
Tailwind
colors: {
  custom: {
    50: '#ddd386',
    500: '#cac150',
    950: '#000000',
  },
}
SCSS
$custom: #cac150;
$custom-light: #ddd386;
$custom-dark: #000000;
JSON
{
  "hex": "#cac150",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 55.574,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79666,
    "c": 0.13396,
    "h": 104.8
  },
  "luminance": 0.51276
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC150

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

Preview Lab → · Contrast checker → · Palette generator →

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