#CACE51#CACE51

#CACE51 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.5% C 0.147 H 110.9°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#CACE51
RGBrgb(202, 206, 81)
HSLhsl(62, 56%, 56%)
HSVhsv(62, 61%, 81%)
CMYKcmyk(1.9%, 0%, 60.7%, 19.2%)
CIE-LABlab(80.34, -17.34, 59.88)
CIE-LCHlch(80.34, 62.34, 106.15°)
OKLaboklab(82.46% -0.0524 0.1368)
OKLCHoklch(82.46% 0.147 110.9)
XYZxyz(47.9150, 57.2944, 16.3179)
Luminance0.5729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACE51 #5551CE
analogous
#CE9451 #CACE51 #8CCE51
triadic
#CACE51 #51CACE #CE51CA
tetradic
#CACE51 #51CE94 #5551CE #CE518C
square
#CACE51 #51CE94 #5551CE #CE518C
split-complementary
#CACE51 #518CCE #9451CE
monochromatic
#7D8024 #ACB032 #CACE51 #D9DB81 #E7E9B1

Accessibility & contrast

On white

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

On black

12.46
#CACE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACE51
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACE51#FFFFFF#000000##000000
##CACE511.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC542
Deuteranopia (green-blind)
#DEC959
Tritanopia (blue-blind)
#D7C2B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cace51;
/* rgb */ color: rgb(202, 206, 81);
/* oklch */ color: oklch(82.5% 0.147 110.9);
Tailwind
colors: {
  custom: {
    50: '#dddc87',
    500: '#cace51',
    950: '#000000',
  },
}
SCSS
$custom: #cace51;
$custom-light: #dddc87;
$custom-dark: #000000;
JSON
{
  "hex": "#cace51",
  "rgb": {
    "r": 202,
    "g": 206,
    "b": 81
  },
  "hsl": {
    "h": 61.92,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82457,
    "c": 0.14651,
    "h": 110.9
  },
  "luminance": 0.57293
}

Semantic roles & 50–950 ramp

primary
#CACE51
secondary
#3E3B88
accent
#48DF4D
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #CACE51

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

Preview Lab → · Contrast checker → · Palette generator →

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