#CACE42#CACE42

#CACE42 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.3% C 0.157 H 111.0°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#CACE42
RGBrgb(202, 206, 66)
HSLhsl(62, 59%, 53%)
HSVhsv(62, 68%, 81%)
CMYKcmyk(1.9%, 0%, 68%, 19.2%)
CIE-LABlab(80.23, -18.25, 65.76)
CIE-LCHlch(80.23, 68.24, 105.51°)
OKLaboklab(82.33% -0.0564 0.147)
OKLCHoklch(82.33% 0.157 111)
XYZxyz(47.4133, 57.0937, 13.6758)
Luminance0.5709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACE42 #4642CE
analogous
#CE8C42 #CACE42 #84CE42
triadic
#CACE42 #42CACE #CE42CA
tetradic
#CACE42 #42CE8C #4642CE #CE4284
square
#CACE42 #42CE8C #4642CE #CE4284
split-complementary
#CACE42 #4284CE #8C42CE
monochromatic
#74771F #A4A72B #CACE42 #D8DB73 #E5E7A3

Accessibility & contrast

On white

1.69
#CACE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#CACE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACE42
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACE42#FFFFFF#000000##000000
##CACE421.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52C
Deuteranopia (green-blind)
#DFC94C
Tritanopia (blue-blind)
#D8C1B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cace42;
/* rgb */ color: rgb(202, 206, 66);
/* oklch */ color: oklch(82.3% 0.157 111.0);
Tailwind
colors: {
  custom: {
    50: '#dddc7f',
    500: '#cace42',
    950: '#000000',
  },
}
SCSS
$custom: #cace42;
$custom-light: #dddc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cace42",
  "rgb": {
    "r": 202,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 61.714,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82331,
    "c": 0.15745,
    "h": 111
  },
  "luminance": 0.57093
}

Semantic roles & 50–950 ramp

primary
#CACE42
secondary
#37357F
accent
#46E24A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CACE42

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

Preview Lab → · Contrast checker → · Palette generator →

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