#CACF4C#CACF4C

#CACF4C 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#CACF4C
RGBrgb(202, 207, 76)
HSLhsl(62, 58%, 55%)
HSVhsv(62, 63%, 81%)
CMYKcmyk(2.4%, 0%, 63.3%, 18.8%)
CIE-LABlab(80.57, -18.16, 62.20)
CIE-LCHlch(80.57, 64.80, 106.28°)
OKLaboklab(82.63% -0.0552 0.141)
OKLCHoklch(82.63% 0.151 111.4)
XYZxyz(47.9758, 57.7051, 15.4470)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACF4C #514CCF
analogous
#CF924C #CACF4C #88CF4C
triadic
#CACF4C #4CCACF #CF4CCA
tetradic
#CACF4C #4CCF92 #514CCF #CF4C88
square
#CACF4C #4CCF92 #514CCF #CF4C88
split-complementary
#CACF4C #4C88CF #924CCF
monochromatic
#7B7F22 #AAAF2F #CACF4C #D8DC7C #E7E9AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACF4C#FFFFFF#000000##000000
##CACF4C1.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)
#DEC63B
Deuteranopia (green-blind)
#DFCA55
Tritanopia (blue-blind)
#D7C3B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cacf4c;
/* rgb */ color: rgb(202, 207, 76);
/* oklch */ color: oklch(82.6% 0.151 111.4);
Tailwind
colors: {
  custom: {
    50: '#dddd84',
    500: '#cacf4c',
    950: '#000000',
  },
}
SCSS
$custom: #cacf4c;
$custom-light: #dddd84;
$custom-dark: #000000;
JSON
{
  "hex": "#cacf4c",
  "rgb": {
    "r": 202,
    "g": 207,
    "b": 76
  },
  "hsl": {
    "h": 62.29,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82628,
    "c": 0.15145,
    "h": 111.4
  },
  "luminance": 0.57704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CACF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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