#CAC250#CAC250

#CAC250 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.9% C 0.135 H 105.3°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CAC250
RGBrgb(202, 194, 80)
HSLhsl(56, 54%, 55%)
HSVhsv(56, 60%, 79%)
CMYKcmyk(0%, 4%, 60.4%, 20.8%)
CIE-LABlab(77.11, -11.37, 56.80)
CIE-LCHlch(77.11, 57.93, 101.32°)
OKLaboklab(79.88% -0.0356 0.1302)
OKLCHoklch(79.88% 0.135 105.3)
XYZxyz(45.0984, 51.7208, 15.1954)
Luminance0.5172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC250 #5058CA
analogous
#CA8550 #CAC250 #95CA50
triadic
#CAC250 #50CAC2 #C250CA
tetradic
#CAC250 #50CA85 #5058CA #CA5095
square
#CAC250 #50CA85 #5058CA #CA5095
split-complementary
#CAC250 #5095CA #8550CA
monochromatic
#7A7525 #A9A233 #CAC250 #D8D27F #E6E3AE

Accessibility & contrast

On white

1.85
#CAC250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#CAC250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC250
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC250#FFFFFF#000000##000000
##CAC2501.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB43
Deuteranopia (green-blind)
#D5C156
Tritanopia (blue-blind)
#D8B6AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac250;
/* rgb */ color: rgb(202, 194, 80);
/* oklch */ color: oklch(79.9% 0.135 105.3);
Tailwind
colors: {
  custom: {
    50: '#ddd486',
    500: '#cac250',
    950: '#000000',
  },
}
SCSS
$custom: #cac250;
$custom-light: #ddd486;
$custom-dark: #000000;
JSON
{
  "hex": "#cac250",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 80
  },
  "hsl": {
    "h": 56.066,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79878,
    "c": 0.13493,
    "h": 105.3
  },
  "luminance": 0.51719
}

Semantic roles & 50–950 ramp

primary
#CAC250
secondary
#3B4083
accent
#54DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC250

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

Preview Lab → · Contrast checker → · Palette generator →

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