#CACF47#CACF47

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

Color values

HEX#CACF47
RGBrgb(202, 207, 71)
HSLhsl(62, 59%, 55%)
HSVhsv(62, 66%, 81%)
CMYKcmyk(2.4%, 0%, 65.7%, 18.8%)
CIE-LABlab(80.54, -18.47, 64.15)
CIE-LCHlch(80.54, 66.76, 106.06°)
OKLaboklab(82.59% -0.0566 0.1444)
OKLCHoklch(82.59% 0.155 111.4)
XYZxyz(47.8087, 57.6383, 14.5669)
Luminance0.5764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACF47 #4C47CF
analogous
#CF9047 #CACF47 #86CF47
triadic
#CACF47 #47CACF #CF47CA
tetradic
#CACF47 #47CF90 #4C47CF #CF4786
square
#CACF47 #47CF90 #4C47CF #CF4786
split-complementary
#CACF47 #4786CF #9047CF
monochromatic
#787B20 #A7AC2D #CACF47 #D8DC78 #E6E8A8

Accessibility & contrast

On white

1.68
#CACF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#CACF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACF47
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACF47#FFFFFF#000000##000000
##CACF471.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC634
Deuteranopia (green-blind)
#DFCA50
Tritanopia (blue-blind)
#D7C3B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cacf47;
/* rgb */ color: rgb(202, 207, 71);
/* oklch */ color: oklch(82.6% 0.155 111.4);
Tailwind
colors: {
  custom: {
    50: '#dddd81',
    500: '#cacf47',
    950: '#000000',
  },
}
SCSS
$custom: #cacf47;
$custom-light: #dddd81;
$custom-dark: #000000;
JSON
{
  "hex": "#cacf47",
  "rgb": {
    "r": 202,
    "g": 207,
    "b": 71
  },
  "hsl": {
    "h": 62.206,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82586,
    "c": 0.15508,
    "h": 111.4
  },
  "luminance": 0.57637
}

Semantic roles & 50–950 ramp

primary
#CACF47
secondary
#3A3783
accent
#46E24C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #CACF47

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

Preview Lab → · Contrast checker → · Palette generator →

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