#CACE2B#CACE2B

#CACE2B is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.2% C 0.170 H 111.1°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#CACE2B
RGBrgb(202, 206, 43)
HSLhsl(61, 65%, 49%)
HSVhsv(61, 79%, 81%)
CMYKcmyk(1.9%, 0%, 79.1%, 19.2%)
CIE-LABlab(80.11, -19.25, 73.14)
CIE-LCHlch(80.11, 75.63, 104.75°)
OKLaboklab(82.19% -0.0612 0.1587)
OKLCHoklch(82.19% 0.17 111.1)
XYZxyz(46.8662, 56.8749, 10.7942)
Luminance0.5687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACE2B #2F2BCE
analogous
#CE812B #CACE2B #79CE2B
triadic
#CACE2B #2BCACE #CE2BCA
tetradic
#CACE2B #2BCE81 #2F2BCE #CE2B79
square
#CACE2B #2BCE81 #2F2BCE #CE2B79
split-complementary
#CACE2B #2B79CE #812BCE
monochromatic
#676916 #989B20 #CACE2B #D9DC5A #E5E78C

Accessibility & contrast

On white

1.70
#CACE2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#CACE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACE2B
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACE2B#FFFFFF#000000##000000
##CACE2B1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC500
Deuteranopia (green-blind)
#E0C93A
Tritanopia (blue-blind)
#D8C1B0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cace2b;
/* rgb */ color: rgb(202, 206, 43);
/* oklch */ color: oklch(82.2% 0.170 111.1);
Tailwind
colors: {
  custom: {
    50: '#dedc74',
    500: '#cace2b',
    950: '#000000',
  },
}
SCSS
$custom: #cace2b;
$custom-light: #dedc74;
$custom-dark: #000000;
JSON
{
  "hex": "#cace2b",
  "rgb": {
    "r": 202,
    "g": 206,
    "b": 43
  },
  "hsl": {
    "h": 61.472,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.82194,
    "c": 0.17005,
    "h": 111.1
  },
  "luminance": 0.56874
}

Semantic roles & 50–950 ramp

primary
#CACE2B
secondary
#2C2B73
accent
#3FE844
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CACE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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