#CCD259#CCD259

#CCD259 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.6% C 0.144 H 111.8°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#CCD259
RGBrgb(204, 210, 89)
HSLhsl(63, 57%, 59%)
HSVhsv(63, 58%, 82%)
CMYKcmyk(2.9%, 0%, 57.6%, 17.6%)
CIE-LABlab(81.65, -17.94, 57.90)
CIE-LCHlch(81.65, 60.62, 107.22°)
OKLaboklab(83.56% -0.0533 0.1336)
OKLCHoklch(83.56% 0.144 111.8)
XYZxyz(49.7528, 59.6529, 18.3425)
Luminance0.5965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD259 #5F59D2
analogous
#D29B59 #CCD259 #8FD259
triadic
#CCD259 #59CCD2 #D259CC
tetradic
#CCD259 #59D29B #5F59D2 #D2598F
square
#CCD259 #59D29B #5F59D2 #D2598F
split-complementary
#CCD259 #598FD2 #9B59D2
monochromatic
#868B26 #B4BB33 #CCD259 #DBDF89 #EAECB9

Accessibility & contrast

On white

1.62
#CCD259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#CCD259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD259
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD259#FFFFFF#000000##000000
##CCD2591.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C94C
Deuteranopia (green-blind)
#E1CD60
Tritanopia (blue-blind)
#D9C6B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd259;
/* rgb */ color: rgb(204, 210, 89);
/* oklch */ color: oklch(83.6% 0.144 111.8);
Tailwind
colors: {
  custom: {
    50: '#dedf8c',
    500: '#ccd259',
    950: '#000000',
  },
}
SCSS
$custom: #ccd259;
$custom-light: #dedf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd259",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 89
  },
  "hsl": {
    "h": 62.975,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8356,
    "c": 0.14387,
    "h": 111.8
  },
  "luminance": 0.59652
}

Semantic roles & 50–950 ramp

primary
#CCD259
secondary
#423E91
accent
#47E14F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD259

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

Preview Lab → · Contrast checker → · Palette generator →

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