#CACFA2#CACFA2

#CACFA2 is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 83.9% C 0.060 H 112.9°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#CACFA2
RGBrgb(202, 207, 162)
HSLhsl(67, 32%, 72%)
HSVhsv(67, 22%, 81%)
CMYKcmyk(2.4%, 0%, 21.7%, 18.8%)
CIE-LABlab(81.72, -9.19, 21.85)
CIE-LCHlch(81.72, 23.71, 112.81°)
OKLaboklab(83.92% -0.0234 0.0556)
OKLCHoklch(83.92% 0.06 112.9)
XYZxyz(53.1911, 59.7913, 42.9141)
Luminance0.5979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACFA2 #A7A2CF
analogous
#CFBEA2 #CACFA2 #B3CFA2
triadic
#CACFA2 #A2CACF #CFA2CA
tetradic
#CACFA2 #A2CFBE #A7A2CF #CFA2B3
square
#CACFA2 #A2CFBE #A7A2CF #CFA2B3
split-complementary
#CACFA2 #A2B3CF #BEA2CF
monochromatic
#9AA354 #B3BA7A #CACFA2 #E1E4CA #F3F5EB

Accessibility & contrast

On white

1.62
#CACFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#CACFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACFA2
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACFA2#FFFFFF#000000##000000
##CACFA21.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6CB9F
Deuteranopia (green-blind)
#D6CCA4
Tritanopia (blue-blind)
#D0CAC3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cacfa2;
/* rgb */ color: rgb(202, 207, 162);
/* oklch */ color: oklch(83.9% 0.060 112.9);
Tailwind
colors: {
  custom: {
    50: '#daddbd',
    500: '#cacfa2',
    950: '#000000',
  },
}
SCSS
$custom: #cacfa2;
$custom-light: #daddbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cacfa2",
  "rgb": {
    "r": 202,
    "g": 207,
    "b": 162
  },
  "hsl": {
    "h": 66.667,
    "s": 31.915,
    "l": 72.353
  },
  "oklch": {
    "l": 0.83917,
    "c": 0.06035,
    "h": 112.9
  },
  "luminance": 0.59791
}

Semantic roles & 50–950 ramp

primary
#CACFA2
secondary
#7671A5
accent
#3BAB47
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#151512
muted
#848482

Preview Lab

Preview with #CACFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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