#CAC95F#CAC95F

#CAC95F is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.5% C 0.129 H 108.5°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CAC95F
RGBrgb(202, 201, 95)
HSLhsl(59, 50%, 58%)
HSVhsv(59, 53%, 79%)
CMYKcmyk(0%, 0.5%, 53%, 20.8%)
CIE-LABlab(79.13, -13.79, 52.30)
CIE-LCHlch(79.13, 54.09, 104.78°)
OKLaboklab(81.53% -0.0408 0.1223)
OKLCHoklch(81.53% 0.129 108.5)
XYZxyz(47.3105, 55.1573, 18.9785)
Luminance0.5516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC95F #5F60CA
analogous
#CA935F #CAC95F #95CA5F
triadic
#CAC95F #5FCAC9 #C95FCA
tetradic
#CAC95F #5FCA93 #5F60CA #CA5F95
square
#CAC95F #5FCA93 #5F60CA #CA5F95
split-complementary
#CAC95F #5F95CA #935FCA
monochromatic
#83822B #B1B03B #CAC95F #D9D98D #E8E8BB

Accessibility & contrast

On white

1.75
#CAC95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#CAC95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC95F
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC95F#FFFFFF#000000##000000
##CAC95F1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C255
Deuteranopia (green-blind)
#D9C665
Tritanopia (blue-blind)
#D7BEB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cac95f;
/* rgb */ color: rgb(202, 201, 95);
/* oklch */ color: oklch(81.5% 0.129 108.5);
Tailwind
colors: {
  custom: {
    50: '#dcd98f',
    500: '#cac95f',
    950: '#000000',
  },
}
SCSS
$custom: #cac95f;
$custom-light: #dcd98f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac95f",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 95
  },
  "hsl": {
    "h": 59.439,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81532,
    "c": 0.12896,
    "h": 108.5
  },
  "luminance": 0.55156
}

Semantic roles & 50–950 ramp

primary
#CAC95F
secondary
#43438B
accent
#4FDA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC95F

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

Preview Lab → · Contrast checker → · Palette generator →

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