#CAC14F#CAC14F

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

Color values

HEX#CAC14F
RGBrgb(202, 193, 79)
HSLhsl(56, 54%, 55%)
HSVhsv(56, 61%, 79%)
CMYKcmyk(0%, 4.5%, 60.9%, 20.8%)
CIE-LABlab(76.84, -10.93, 56.94)
CIE-LCHlch(76.84, 57.98, 100.86°)
OKLaboklab(79.66% -0.0344 0.1303)
OKLCHoklch(79.66% 0.135 104.8)
XYZxyz(44.8399, 51.2626, 14.9283)
Luminance0.5126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC14F #4F58CA
analogous
#CA844F #CAC14F #95CA4F
triadic
#CAC14F #4FCAC1 #C14FCA
tetradic
#CAC14F #4FCA84 #4F58CA #CA4F95
square
#CAC14F #4FCA84 #4F58CA #CA4F95
split-complementary
#CAC14F #4F95CA #844FCA
monochromatic
#7A7425 #A9A033 #CAC14F #D8D27E #E6E2AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC14F#FFFFFF#000000##000000
##CAC14F1.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)
#D1BB42
Deuteranopia (green-blind)
#D4C055
Tritanopia (blue-blind)
#D8B5A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac14f;
/* rgb */ color: rgb(202, 193, 79);
/* oklch */ color: oklch(79.7% 0.135 104.8);
Tailwind
colors: {
  custom: {
    50: '#ddd385',
    500: '#cac14f',
    950: '#000000',
  },
}
SCSS
$custom: #cac14f;
$custom-light: #ddd385;
$custom-dark: #000000;
JSON
{
  "hex": "#cac14f",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 79
  },
  "hsl": {
    "h": 55.61,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79656,
    "c": 0.13479,
    "h": 104.8
  },
  "luminance": 0.51261
}

Semantic roles & 50–950 ramp

primary
#CAC14F
secondary
#3B4082
accent
#55DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC14F

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

Preview Lab → · Contrast checker → · Palette generator →

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