#CACB50#CACB50

#CACB50 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.8% C 0.144 H 109.6°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#CACB50
RGBrgb(202, 203, 80)
HSLhsl(60, 54%, 55%)
HSVhsv(60, 61%, 80%)
CMYKcmyk(0.5%, 0%, 60.6%, 20.4%)
CIE-LABlab(79.53, -15.91, 59.42)
CIE-LCHlch(79.53, 61.51, 104.99°)
OKLaboklab(81.8% -0.0484 0.1357)
OKLCHoklch(81.8% 0.144 109.6)
XYZxyz(47.1624, 55.8489, 15.8834)
Luminance0.5585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACB50 #5150CB
analogous
#CB8E50 #CACB50 #8CCB50
triadic
#CACB50 #50CACB #CB50CA
tetradic
#CACB50 #50CB8E #5150CB #CB508C
square
#CACB50 #50CB8E #5150CB #CB508C
split-complementary
#CACB50 #508CCB #8E50CB
monochromatic
#7B7C25 #AAAB33 #CACB50 #D8D97F #E7E7AE

Accessibility & contrast

On white

1.73
#CACB50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#CACB50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACB50
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACB50#FFFFFF#000000##000000
##CACB501.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC341
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#D7BFB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacb50;
/* rgb */ color: rgb(202, 203, 80);
/* oklch */ color: oklch(81.8% 0.144 109.6);
Tailwind
colors: {
  custom: {
    50: '#ddda86',
    500: '#cacb50',
    950: '#000000',
  },
}
SCSS
$custom: #cacb50;
$custom-light: #ddda86;
$custom-dark: #000000;
JSON
{
  "hex": "#cacb50",
  "rgb": {
    "r": 202,
    "g": 203,
    "b": 80
  },
  "hsl": {
    "h": 60.488,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81802,
    "c": 0.14411,
    "h": 109.6
  },
  "luminance": 0.55848
}

Semantic roles & 50–950 ramp

primary
#CACB50
secondary
#3C3B84
accent
#4ADE4B
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CACB50

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

Preview Lab → · Contrast checker → · Palette generator →

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