#CAC95E#CAC95E

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

Color values

HEX#CAC95E
RGBrgb(202, 201, 94)
HSLhsl(59, 50%, 58%)
HSVhsv(59, 53%, 79%)
CMYKcmyk(0%, 0.5%, 53.5%, 20.8%)
CIE-LABlab(79.12, -13.88, 52.75)
CIE-LCHlch(79.12, 54.55, 104.74°)
OKLaboklab(81.52% -0.0412 0.1232)
OKLCHoklch(81.52% 0.13 108.5)
XYZxyz(47.2654, 55.1392, 18.7406)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC95E #5E5FCA
analogous
#CA935E #CAC95E #95CA5E
triadic
#CAC95E #5ECAC9 #C95ECA
tetradic
#CAC95E #5ECA93 #5E5FCA #CA5E95
square
#CAC95E #5ECA93 #5E5FCA #CA5E95
split-complementary
#CAC95E #5E95CA #935ECA
monochromatic
#83822B #B1B03A #CAC95E #D9D88C #E8E8BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC95E#FFFFFF#000000##000000
##CAC95E1.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)
#D7C253
Deuteranopia (green-blind)
#D9C664
Tritanopia (blue-blind)
#D7BEB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cac95e;
/* rgb */ color: rgb(202, 201, 94);
/* oklch */ color: oklch(81.5% 0.130 108.5);
Tailwind
colors: {
  custom: {
    50: '#dcd98f',
    500: '#cac95e',
    950: '#000000',
  },
}
SCSS
$custom: #cac95e;
$custom-light: #dcd98f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac95e",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 94
  },
  "hsl": {
    "h": 59.444,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8152,
    "c": 0.12988,
    "h": 108.5
  },
  "luminance": 0.55138
}

Semantic roles & 50–950 ramp

primary
#CAC95E
secondary
#42438A
accent
#4FDA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC95E

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

Preview Lab → · Contrast checker → · Palette generator →

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