#CACC4F#CACC4F

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

Color values

HEX#CACC4F
RGBrgb(202, 204, 79)
HSLhsl(61, 55%, 55%)
HSVhsv(61, 61%, 80%)
CMYKcmyk(1%, 0%, 61.3%, 20%)
CIE-LABlab(79.79, -16.48, 60.12)
CIE-LCHlch(79.79, 62.34, 105.33°)
OKLaboklab(82.01% -0.0501 0.1371)
OKLCHoklch(82.01% 0.146 110.1)
XYZxyz(47.3627, 56.3080, 15.7692)
Luminance0.5631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC4F #514FCC
analogous
#CC8F4F #CACC4F #8BCC4F
triadic
#CACC4F #4FCACC #CC4FCA
tetradic
#CACC4F #4FCC8F #514FCC #CC4F8B
square
#CACC4F #4FCC8F #514FCC #CC4F8B
split-complementary
#CACC4F #4F8BCC #8F4FCC
monochromatic
#7B7D24 #AAAC32 #CACC4F #D8DA7E #E7E7AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACC4F#FFFFFF#000000##000000
##CACC4F1.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)
#DBC440
Deuteranopia (green-blind)
#DCC857
Tritanopia (blue-blind)
#D7C0B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacc4f;
/* rgb */ color: rgb(202, 204, 79);
/* oklch */ color: oklch(82.0% 0.146 110.1);
Tailwind
colors: {
  custom: {
    50: '#dddb86',
    500: '#cacc4f',
    950: '#000000',
  },
}
SCSS
$custom: #cacc4f;
$custom-light: #dddb86;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc4f",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 60.96,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82008,
    "c": 0.14596,
    "h": 110.1
  },
  "luminance": 0.56307
}

Semantic roles & 50–950 ramp

primary
#CACC4F
secondary
#3C3B84
accent
#49DE4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CACC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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