#CACC4E#CACC4E

#CACC4E is a light, vivid yellow. Relative luminance 0.563; OKLCH L 82.0% C 0.147 H 110.1°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#CACC4E
RGBrgb(202, 204, 78)
HSLhsl(61, 55%, 55%)
HSVhsv(61, 62%, 80%)
CMYKcmyk(1%, 0%, 61.8%, 20%)
CIE-LABlab(79.78, -16.55, 60.53)
CIE-LCHlch(79.78, 62.75, 105.29°)
OKLaboklab(82% -0.0504 0.1378)
OKLCHoklch(82% 0.147 110.1)
XYZxyz(47.3265, 56.2936, 15.5790)
Luminance0.5629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC4E #504ECC
analogous
#CC8F4E #CACC4E #8BCC4E
triadic
#CACC4E #4ECACC #CC4ECA
tetradic
#CACC4E #4ECC8F #504ECC #CC4E8B
square
#CACC4E #4ECC8F #504ECC #CC4E8B
split-complementary
#CACC4E #4E8BCC #8F4ECC
monochromatic
#7A7C24 #A9AB31 #CACC4E #D8DA7E #E6E7AD

Accessibility & contrast

On white

1.71
#CACC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#CACC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACC4E
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACC4E#FFFFFF#000000##000000
##CACC4E1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC43E
Deuteranopia (green-blind)
#DCC856
Tritanopia (blue-blind)
#D7C0B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacc4e;
/* rgb */ color: rgb(202, 204, 78);
/* oklch */ color: oklch(82.0% 0.147 110.1);
Tailwind
colors: {
  custom: {
    50: '#dddb85',
    500: '#cacc4e',
    950: '#000000',
  },
}
SCSS
$custom: #cacc4e;
$custom-light: #dddb85;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc4e",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 60.952,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81999,
    "c": 0.14674,
    "h": 110.1
  },
  "luminance": 0.56292
}

Semantic roles & 50–950 ramp

primary
#CACC4E
secondary
#3B3A84
accent
#49DF4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CACC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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