#CACF4A#CACF4A

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

Color values

HEX#CACF4A
RGBrgb(202, 207, 74)
HSLhsl(62, 58%, 55%)
HSVhsv(62, 64%, 81%)
CMYKcmyk(2.4%, 0%, 64.3%, 18.8%)
CIE-LABlab(80.56, -18.29, 62.99)
CIE-LCHlch(80.56, 65.59, 106.19°)
OKLaboklab(82.61% -0.0558 0.1424)
OKLCHoklch(82.61% 0.153 111.4)
XYZxyz(47.9074, 57.6778, 15.0865)
Luminance0.5768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACF4A #4F4ACF
analogous
#CF924A #CACF4A #87CF4A
triadic
#CACF4A #4ACACF #CF4ACA
tetradic
#CACF4A #4ACF92 #4F4ACF #CF4A87
square
#CACF4A #4ACF92 #4F4ACF #CF4A87
split-complementary
#CACF4A #4A87CF #924ACF
monochromatic
#7A7D21 #A9AE2E #CACF4A #D8DC7A #E6E9AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACF4A#FFFFFF#000000##000000
##CACF4A1.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cacf4a;
/* rgb */ color: rgb(202, 207, 74);
/* oklch */ color: oklch(82.6% 0.153 111.4);
Tailwind
colors: {
  custom: {
    50: '#dddd83',
    500: '#cacf4a',
    950: '#000000',
  },
}
SCSS
$custom: #cacf4a;
$custom-light: #dddd83;
$custom-dark: #000000;
JSON
{
  "hex": "#cacf4a",
  "rgb": {
    "r": 202,
    "g": 207,
    "b": 74
  },
  "hsl": {
    "h": 62.256,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82611,
    "c": 0.15293,
    "h": 111.4
  },
  "luminance": 0.57677
}

Semantic roles & 50–950 ramp

primary
#CACF4A
secondary
#3B3885
accent
#46E14C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #CACF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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