#CAC93F#CAC93F

#CAC93F is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.2% C 0.154 H 109.0°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CAC93F
RGBrgb(202, 201, 63)
HSLhsl(60, 57%, 52%)
HSVhsv(60, 69%, 79%)
CMYKcmyk(0%, 0.5%, 68.8%, 20.8%)
CIE-LABlab(78.86, -15.92, 65.51)
CIE-LCHlch(78.86, 67.42, 103.66°)
OKLaboklab(81.23% -0.0502 0.146)
OKLCHoklch(81.23% 0.154 109)
XYZxyz(46.1426, 54.6901, 12.8273)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC93F #3F40CA
analogous
#CA833F #CAC93F #86CA3F
triadic
#CAC93F #3FCAC9 #C93FCA
tetradic
#CAC93F #3FCA83 #3F40CA #CA3F86
square
#CAC93F #3FCA83 #3F40CA #CA3F86
split-complementary
#CAC93F #3F86CA #833FCA
monochromatic
#706F1F #A09F2C #CAC93F #D7D66F #E4E49F

Accessibility & contrast

On white

1.76
#CAC93F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#CAC93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC93F
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC93F#FFFFFF#000000##000000
##CAC93F1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C129
Deuteranopia (green-blind)
#DBC549
Tritanopia (blue-blind)
#D8BCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac93f;
/* rgb */ color: rgb(202, 201, 63);
/* oklch */ color: oklch(81.2% 0.154 109.0);
Tailwind
colors: {
  custom: {
    50: '#ded97c',
    500: '#cac93f',
    950: '#000000',
  },
}
SCSS
$custom: #cac93f;
$custom-light: #ded97c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac93f",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 63
  },
  "hsl": {
    "h": 59.568,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81231,
    "c": 0.15436,
    "h": 109
  },
  "luminance": 0.54689
}

Semantic roles & 50–950 ramp

primary
#CAC93F
secondary
#343579
accent
#49E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC93F

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

Preview Lab → · Contrast checker → · Palette generator →

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