#CACF46#CACF46

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

Color values

HEX#CACF46
RGBrgb(202, 207, 70)
HSLhsl(62, 59%, 54%)
HSVhsv(62, 66%, 81%)
CMYKcmyk(2.4%, 0%, 66.2%, 18.8%)
CIE-LABlab(80.53, -18.52, 64.54)
CIE-LCHlch(80.53, 67.14, 106.02°)
OKLaboklab(82.58% -0.0568 0.1451)
OKLCHoklch(82.58% 0.156 111.4)
XYZxyz(47.7769, 57.6256, 14.3992)
Luminance0.5762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACF46 #4B46CF
analogous
#CF9046 #CACF46 #86CF46
triadic
#CACF46 #46CACF #CF46CA
tetradic
#CACF46 #46CF90 #4B46CF #CF4686
square
#CACF46 #46CF90 #4B46CF #CF4686
split-complementary
#CACF46 #4686CF #9046CF
monochromatic
#777B20 #A7AB2C #CACF46 #D8DC77 #E6E8A7

Accessibility & contrast

On white

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

On black

12.52
#CACF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACF46
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACF46#FFFFFF#000000##000000
##CACF461.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cacf46;
/* rgb */ color: rgb(202, 207, 70);
/* oklch */ color: oklch(82.6% 0.156 111.4);
Tailwind
colors: {
  custom: {
    50: '#dddd81',
    500: '#cacf46',
    950: '#000000',
  },
}
SCSS
$custom: #cacf46;
$custom-light: #dddd81;
$custom-dark: #000000;
JSON
{
  "hex": "#cacf46",
  "rgb": {
    "r": 202,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 62.19,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82578,
    "c": 0.15578,
    "h": 111.4
  },
  "luminance": 0.57624
}

Semantic roles & 50–950 ramp

primary
#CACF46
secondary
#393683
accent
#46E24C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CACF46

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

Preview Lab → · Contrast checker → · Palette generator →

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