#CACF32#CACF32

#CACF32 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.4% C 0.168 H 111.4°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#CACF32
RGBrgb(202, 207, 50)
HSLhsl(62, 62%, 50%)
HSVhsv(62, 76%, 81%)
CMYKcmyk(2.4%, 0%, 75.8%, 18.8%)
CIE-LABlab(80.41, -19.49, 71.39)
CIE-LCHlch(80.41, 74.00, 105.27°)
OKLaboklab(82.45% -0.0613 0.1561)
OKLCHoklch(82.45% 0.168 111.4)
XYZxyz(47.2473, 57.4137, 11.6101)
Luminance0.5741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACF32 #3732CF
analogous
#CF8632 #CACF32 #7BCF32
triadic
#CACF32 #32CACF #CF32CA
tetradic
#CACF32 #32CF86 #3732CF #CF327B
square
#CACF32 #32CF86 #3732CF #CF327B
split-complementary
#CACF32 #327BCF #8632CF
monochromatic
#6A6D1A #9B9F25 #CACF32 #D7DB64 #E4E695

Accessibility & contrast

On white

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

On black

12.48
#CACF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACF32
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACF32#FFFFFF#000000##000000
##CACF321.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC504
Deuteranopia (green-blind)
#E0C940
Tritanopia (blue-blind)
#D8C2B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cacf32;
/* rgb */ color: rgb(202, 207, 50);
/* oklch */ color: oklch(82.4% 0.168 111.4);
Tailwind
colors: {
  custom: {
    50: '#dedd77',
    500: '#cacf32',
    950: '#000000',
  },
}
SCSS
$custom: #cacf32;
$custom-light: #dedd77;
$custom-dark: #000000;
JSON
{
  "hex": "#cacf32",
  "rgb": {
    "r": 202,
    "g": 207,
    "b": 50
  },
  "hsl": {
    "h": 61.911,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.82446,
    "c": 0.16775,
    "h": 111.4
  },
  "luminance": 0.57412
}

Semantic roles & 50–950 ramp

primary
#CACF32
secondary
#312F76
accent
#43E548
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CACF32

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

Preview Lab → · Contrast checker → · Palette generator →

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