#CAC04B#CAC04B

#CAC04B is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.4% C 0.137 H 104.4°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#CAC04B
RGBrgb(202, 192, 75)
HSLhsl(55, 55%, 54%)
HSVhsv(55, 63%, 79%)
CMYKcmyk(0%, 5%, 62.9%, 20.8%)
CIE-LABlab(76.54, -10.68, 58.33)
CIE-LCHlch(76.54, 59.30, 100.37°)
OKLaboklab(79.41% -0.0341 0.1327)
OKLCHoklch(79.41% 0.137 104.4)
XYZxyz(44.4784, 50.7654, 14.1110)
Luminance0.5076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC04B #4B55CA
analogous
#CA814B #CAC04B #94CA4B
triadic
#CAC04B #4BCAC0 #C04BCA
tetradic
#CAC04B #4BCA81 #4B55CA #CA4B94
square
#CAC04B #4BCA81 #4B55CA #CA4B94
split-complementary
#CAC04B #4B94CA #814BCA
monochromatic
#777123 #A79D31 #CAC04B #D8D17A #E6E1AA

Accessibility & contrast

On white

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

On black

11.15
#CAC04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC04B
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC04B#FFFFFF#000000##000000
##CAC04B1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA3D
Deuteranopia (green-blind)
#D3BF52
Tritanopia (blue-blind)
#D8B4A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac04b;
/* rgb */ color: rgb(202, 192, 75);
/* oklch */ color: oklch(79.4% 0.137 104.4);
Tailwind
colors: {
  custom: {
    50: '#ddd282',
    500: '#cac04b',
    950: '#000000',
  },
}
SCSS
$custom: #cac04b;
$custom-light: #ddd282;
$custom-dark: #000000;
JSON
{
  "hex": "#cac04b",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 75
  },
  "hsl": {
    "h": 55.276,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79406,
    "c": 0.13703,
    "h": 104.4
  },
  "luminance": 0.50764
}

Semantic roles & 50–950 ramp

primary
#CAC04B
secondary
#393F80
accent
#56DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC04B

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

Preview Lab → · Contrast checker → · Palette generator →

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