#CACE3C#CACE3C

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

Color values

HEX#CACE3C
RGBrgb(202, 206, 60)
HSLhsl(62, 60%, 52%)
HSVhsv(62, 71%, 81%)
CMYKcmyk(1.9%, 0%, 70.9%, 19.2%)
CIE-LABlab(80.19, -18.56, 67.90)
CIE-LCHlch(80.19, 70.39, 105.29°)
OKLaboklab(82.29% -0.0579 0.1505)
OKLCHoklch(82.29% 0.161 111)
XYZxyz(47.2456, 57.0267, 12.7926)
Luminance0.5703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACE3C #403CCE
analogous
#CE893C #CACE3C #81CE3C
triadic
#CACE3C #3CCACE #CE3CCA
tetradic
#CACE3C #3CCE89 #403CCE #CE3C81
square
#CACE3C #3CCE89 #403CCE #CE3C81
split-complementary
#CACE3C #3C81CE #893CCE
monochromatic
#70731D #A0A429 #CACE3C #D7DA6D #E5E79E

Accessibility & contrast

On white

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

On black

12.41
#CACE3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACE3C
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACE3C#FFFFFF#000000##000000
##CACE3C1.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cace3c;
/* rgb */ color: rgb(202, 206, 60);
/* oklch */ color: oklch(82.3% 0.161 111.0);
Tailwind
colors: {
  custom: {
    50: '#dedc7b',
    500: '#cace3c',
    950: '#000000',
  },
}
SCSS
$custom: #cace3c;
$custom-light: #dedc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cace3c",
  "rgb": {
    "r": 202,
    "g": 206,
    "b": 60
  },
  "hsl": {
    "h": 61.644,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.82289,
    "c": 0.16124,
    "h": 111
  },
  "luminance": 0.57025
}

Semantic roles & 50–950 ramp

primary
#CACE3C
secondary
#35337C
accent
#45E349
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CACE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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