#CACF4D#CACF4D

#CACF4D is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.6% C 0.151 H 111.4°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CACF4D
RGBrgb(202, 207, 77)
HSLhsl(62, 58%, 56%)
HSVhsv(62, 63%, 81%)
CMYKcmyk(2.4%, 0%, 62.8%, 18.8%)
CIE-LABlab(80.58, -18.10, 61.80)
CIE-LCHlch(80.58, 64.39, 106.33°)
OKLaboklab(82.64% -0.0549 0.1403)
OKLCHoklch(82.64% 0.151 111.4)
XYZxyz(48.0109, 57.7192, 15.6316)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACF4D #524DCF
analogous
#CF934D #CACF4D #89CF4D
triadic
#CACF4D #4DCACF #CF4DCA
tetradic
#CACF4D #4DCF93 #524DCF #CF4D89
square
#CACF4D #4DCF93 #524DCF #CF4D89
split-complementary
#CACF4D #4D89CF #934DCF
monochromatic
#7C7F22 #ABAF2F #CACF4D #D8DC7D #E7E9AD

Accessibility & contrast

On white

1.67
#CACF4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#CACF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACF4D
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACF4D#FFFFFF#000000##000000
##CACF4D1.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63C
Deuteranopia (green-blind)
#DFCA55
Tritanopia (blue-blind)
#D7C3B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cacf4d;
/* rgb */ color: rgb(202, 207, 77);
/* oklch */ color: oklch(82.6% 0.151 111.4);
Tailwind
colors: {
  custom: {
    50: '#dddd85',
    500: '#cacf4d',
    950: '#000000',
  },
}
SCSS
$custom: #cacf4d;
$custom-light: #dddd85;
$custom-dark: #000000;
JSON
{
  "hex": "#cacf4d",
  "rgb": {
    "r": 202,
    "g": 207,
    "b": 77
  },
  "hsl": {
    "h": 62.308,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82637,
    "c": 0.15069,
    "h": 111.4
  },
  "luminance": 0.57718
}

Semantic roles & 50–950 ramp

primary
#CACF4D
secondary
#3C3987
accent
#47E14D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #CACF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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