#CAC64E#CAC64E

#CAC64E is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.7% C 0.141 H 107.4°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CAC64E
RGBrgb(202, 198, 78)
HSLhsl(58, 54%, 55%)
HSVhsv(58, 61%, 79%)
CMYKcmyk(0%, 2%, 61.4%, 20.8%)
CIE-LABlab(78.17, -13.53, 58.81)
CIE-LCHlch(78.17, 60.34, 102.96°)
OKLaboklab(80.71% -0.0419 0.1341)
OKLCHoklch(80.71% 0.141 107.4)
XYZxyz(45.9279, 53.4962, 15.1127)
Luminance0.5350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC64E #4E52CA
analogous
#CA884E #CAC64E #90CA4E
triadic
#CAC64E #4ECAC6 #C64ECA
tetradic
#CAC64E #4ECA88 #4E52CA #CA4E90
square
#CAC64E #4ECA88 #4E52CA #CA4E90
split-complementary
#CAC64E #4E90CA #884ECA
monochromatic
#797724 #A8A532 #CAC64E #D8D57D #E6E4AC

Accessibility & contrast

On white

1.80
#CAC64E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CAC64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC64E
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC64E#FFFFFF#000000##000000
##CAC64E1.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF40
Deuteranopia (green-blind)
#D8C355
Tritanopia (blue-blind)
#D8BAAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac64e;
/* rgb */ color: rgb(202, 198, 78);
/* oklch */ color: oklch(80.7% 0.141 107.4);
Tailwind
colors: {
  custom: {
    50: '#ddd785',
    500: '#cac64e',
    950: '#000000',
  },
}
SCSS
$custom: #cac64e;
$custom-light: #ddd785;
$custom-dark: #000000;
JSON
{
  "hex": "#cac64e",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 78
  },
  "hsl": {
    "h": 58.065,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80712,
    "c": 0.14054,
    "h": 107.4
  },
  "luminance": 0.53495
}

Semantic roles & 50–950 ramp

primary
#CAC64E
secondary
#3B3D82
accent
#4FDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC64E

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

Preview Lab → · Contrast checker → · Palette generator →

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