#CACF4B#CACF4B

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

Color values

HEX#CACF4B
RGBrgb(202, 207, 75)
HSLhsl(62, 58%, 55%)
HSVhsv(62, 64%, 81%)
CMYKcmyk(2.4%, 0%, 63.8%, 18.8%)
CIE-LABlab(80.57, -18.23, 62.60)
CIE-LCHlch(80.57, 65.20, 106.23°)
OKLaboklab(82.62% -0.0555 0.1417)
OKLCHoklch(82.62% 0.152 111.4)
XYZxyz(47.9413, 57.6914, 15.2654)
Luminance0.5769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACF4B #504BCF
analogous
#CF924B #CACF4B #88CF4B
triadic
#CACF4B #4BCACF #CF4BCA
tetradic
#CACF4B #4BCF92 #504BCF #CF4B88
square
#CACF4B #4BCF92 #504BCF #CF4B88
split-complementary
#CACF4B #4B88CF #924BCF
monochromatic
#7A7E22 #A9AE2E #CACF4B #D8DC7B #E6E9AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACF4B#FFFFFF#000000##000000
##CACF4B1.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)
#DEC63A
Deuteranopia (green-blind)
#DFCA54
Tritanopia (blue-blind)
#D7C3B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cacf4b;
/* rgb */ color: rgb(202, 207, 75);
/* oklch */ color: oklch(82.6% 0.152 111.4);
Tailwind
colors: {
  custom: {
    50: '#dddd84',
    500: '#cacf4b',
    950: '#000000',
  },
}
SCSS
$custom: #cacf4b;
$custom-light: #dddd84;
$custom-dark: #000000;
JSON
{
  "hex": "#cacf4b",
  "rgb": {
    "r": 202,
    "g": 207,
    "b": 75
  },
  "hsl": {
    "h": 62.273,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82619,
    "c": 0.15219,
    "h": 111.4
  },
  "luminance": 0.5769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CACF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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