#CAC14D#CAC14D

#CAC14D is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.6% C 0.136 H 104.9°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#CAC14D
RGBrgb(202, 193, 77)
HSLhsl(56, 54%, 55%)
HSVhsv(56, 62%, 79%)
CMYKcmyk(0%, 4.5%, 61.9%, 20.8%)
CIE-LABlab(76.82, -11.06, 57.78)
CIE-LCHlch(76.82, 58.83, 100.84°)
OKLaboklab(79.64% -0.035 0.1318)
OKLCHoklch(79.64% 0.136 104.9)
XYZxyz(44.7682, 51.2339, 14.5507)
Luminance0.5123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC14D #4D56CA
analogous
#CA834D #CAC14D #95CA4D
triadic
#CAC14D #4DCAC1 #C14DCA
tetradic
#CAC14D #4DCA83 #4D56CA #CA4D95
square
#CAC14D #4DCA83 #4D56CA #CA4D95
split-complementary
#CAC14D #4D95CA #834DCA
monochromatic
#797324 #A89F32 #CAC14D #D8D17C #E6E2AB

Accessibility & contrast

On white

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

On black

11.25
#CAC14D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC14D
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC14D#FFFFFF#000000##000000
##CAC14D1.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB3F
Deuteranopia (green-blind)
#D4C054
Tritanopia (blue-blind)
#D8B5A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac14d;
/* rgb */ color: rgb(202, 193, 77);
/* oklch */ color: oklch(79.6% 0.136 104.9);
Tailwind
colors: {
  custom: {
    50: '#ddd384',
    500: '#cac14d',
    950: '#000000',
  },
}
SCSS
$custom: #cac14d;
$custom-light: #ddd384;
$custom-dark: #000000;
JSON
{
  "hex": "#cac14d",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 77
  },
  "hsl": {
    "h": 55.68,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79637,
    "c": 0.13641,
    "h": 104.9
  },
  "luminance": 0.51232
}

Semantic roles & 50–950 ramp

primary
#CAC14D
secondary
#3A3F81
accent
#55DD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC14D

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

Preview Lab → · Contrast checker → · Palette generator →

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