#CACD38#CACD38

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

Color values

HEX#CACD38
RGBrgb(202, 205, 56)
HSLhsl(61, 60%, 51%)
HSVhsv(61, 73%, 80%)
CMYKcmyk(1.5%, 0%, 72.7%, 19.6%)
CIE-LABlab(79.90, -18.25, 68.99)
CIE-LCHlch(79.90, 71.36, 104.82°)
OKLaboklab(82.05% -0.0574 0.1521)
OKLCHoklch(82.05% 0.163 110.7)
XYZxyz(46.9039, 56.5060, 12.1766)
Luminance0.5651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACD38 #3B38CD
analogous
#CD8538 #CACD38 #7FCD38
triadic
#CACD38 #38CACD #CD38CA
tetradic
#CACD38 #38CD85 #3B38CD #CD387F
square
#CACD38 #38CD85 #3B38CD #CD387F
split-complementary
#CACD38 #387FCD #8538CD
monochromatic
#6D6F1C #9DA028 #CACD38 #D7D969 #E4E69A

Accessibility & contrast

On white

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

On black

12.30
#CACD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACD38
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACD38#FFFFFF#000000##000000
##CACD381.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC419
Deuteranopia (green-blind)
#DEC844
Tritanopia (blue-blind)
#D8C0B0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacd38;
/* rgb */ color: rgb(202, 205, 56);
/* oklch */ color: oklch(82.0% 0.163 110.7);
Tailwind
colors: {
  custom: {
    50: '#dedc79',
    500: '#cacd38',
    950: '#000000',
  },
}
SCSS
$custom: #cacd38;
$custom-light: #dedc79;
$custom-dark: #000000;
JSON
{
  "hex": "#cacd38",
  "rgb": {
    "r": 202,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 61.208,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.82047,
    "c": 0.16256,
    "h": 110.7
  },
  "luminance": 0.56505
}

Semantic roles & 50–950 ramp

primary
#CACD38
secondary
#333178
accent
#45E348
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CACD38

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

Preview Lab → · Contrast checker → · Palette generator →

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