#CAC53F#CAC53F

#CAC53F is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.4% C 0.150 H 107.2°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#CAC53F
RGBrgb(202, 197, 63)
HSLhsl(58, 57%, 52%)
HSVhsv(58, 69%, 79%)
CMYKcmyk(0%, 2.5%, 68.8%, 20.8%)
CIE-LABlab(77.79, -13.91, 64.44)
CIE-LCHlch(77.79, 65.93, 102.18°)
OKLaboklab(80.37% -0.0446 0.1437)
OKLCHoklch(80.37% 0.15 107.2)
XYZxyz(45.2223, 52.8495, 12.5205)
Luminance0.5285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC53F #3F44CA
analogous
#CA803F #CAC53F #89CA3F
triadic
#CAC53F #3FCAC5 #C53FCA
tetradic
#CAC53F #3FCA80 #3F44CA #CA3F89
square
#CAC53F #3FCA80 #3F44CA #CA3F89
split-complementary
#CAC53F #3F89CA #803FCA
monochromatic
#706D1F #A09C2C #CAC53F #D7D36F #E4E29F

Accessibility & contrast

On white

1.82
#CAC53F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#CAC53F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC53F
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC53F#FFFFFF#000000##000000
##CAC53F1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2A
Deuteranopia (green-blind)
#D8C348
Tritanopia (blue-blind)
#D8B8AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac53f;
/* rgb */ color: rgb(202, 197, 63);
/* oklch */ color: oklch(80.4% 0.150 107.2);
Tailwind
colors: {
  custom: {
    50: '#ded67c',
    500: '#cac53f',
    950: '#000000',
  },
}
SCSS
$custom: #cac53f;
$custom-light: #ded67c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac53f",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 63
  },
  "hsl": {
    "h": 57.842,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80372,
    "c": 0.15046,
    "h": 107.2
  },
  "luminance": 0.52848
}

Semantic roles & 50–950 ramp

primary
#CAC53F
secondary
#343779
accent
#4DE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC53F

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

Preview Lab → · Contrast checker → · Palette generator →

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