#CACD3B#CACD3B

#CACD3B is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.1% C 0.161 H 110.7°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#CACD3B
RGBrgb(202, 205, 59)
HSLhsl(61, 59%, 52%)
HSVhsv(61, 71%, 80%)
CMYKcmyk(1.5%, 0%, 71.2%, 19.6%)
CIE-LABlab(79.92, -18.11, 67.98)
CIE-LCHlch(79.92, 70.35, 104.92°)
OKLaboklab(82.07% -0.0567 0.1505)
OKLCHoklch(82.07% 0.161 110.7)
XYZxyz(46.9795, 56.5362, 12.5747)
Luminance0.5654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACD3B #3E3BCD
analogous
#CD873B #CACD3B #81CD3B
triadic
#CACD3B #3BCACD #CD3BCA
tetradic
#CACD3B #3BCD87 #3E3BCD #CD3B81
square
#CACD3B #3BCD87 #3E3BCD #CD3B81
split-complementary
#CACD3B #3B81CD #873BCD
monochromatic
#6F711D #9FA229 #CACD3B #D7D96C #E4E69D

Accessibility & contrast

On white

1.71
#CACD3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#CACD3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACD3B
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACD3B#FFFFFF#000000##000000
##CACD3B1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC420
Deuteranopia (green-blind)
#DEC846
Tritanopia (blue-blind)
#D8C0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacd3b;
/* rgb */ color: rgb(202, 205, 59);
/* oklch */ color: oklch(82.1% 0.161 110.7);
Tailwind
colors: {
  custom: {
    50: '#dedc7b',
    500: '#cacd3b',
    950: '#000000',
  },
}
SCSS
$custom: #cacd3b;
$custom-light: #dedc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cacd3b",
  "rgb": {
    "r": 202,
    "g": 205,
    "b": 59
  },
  "hsl": {
    "h": 61.233,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.82066,
    "c": 0.16082,
    "h": 110.7
  },
  "luminance": 0.56535
}

Semantic roles & 50–950 ramp

primary
#CACD3B
secondary
#34327A
accent
#45E349
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CACD3B

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

Preview Lab → · Contrast checker → · Palette generator →

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