#CCD05C#CCD05C

#CCD05C is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.2% C 0.139 H 110.9°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#CCD05C
RGBrgb(204, 208, 92)
HSLhsl(62, 55%, 59%)
HSVhsv(62, 56%, 82%)
CMYKcmyk(1.9%, 0%, 55.8%, 18.4%)
CIE-LABlab(81.14, -16.72, 56.00)
CIE-LCHlch(81.14, 58.45, 106.63°)
OKLaboklab(83.16% -0.0496 0.1299)
OKLCHoklch(83.16% 0.139 110.9)
XYZxyz(49.3907, 58.7229, 18.8560)
Luminance0.5872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD05C #605CD0
analogous
#D09A5C #CCD05C #92D05C
triadic
#CCD05C #5CCCD0 #D05CCC
tetradic
#CCD05C #5CD09A #605CD0 #D05C92
square
#CCD05C #5CD09A #605CD0 #D05C92
split-complementary
#CCD05C #5C92D0 #9A5CD0
monochromatic
#868A28 #B5B935 #CCD05C #DBDE8C #EAEBBB

Accessibility & contrast

On white

1.65
#CCD05C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#CCD05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD05C
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD05C#FFFFFF#000000##000000
##CCD05C1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC850
Deuteranopia (green-blind)
#DFCB63
Tritanopia (blue-blind)
#D9C5B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccd05c;
/* rgb */ color: rgb(204, 208, 92);
/* oklch */ color: oklch(83.2% 0.139 110.9);
Tailwind
colors: {
  custom: {
    50: '#dede8e',
    500: '#ccd05c',
    950: '#000000',
  },
}
SCSS
$custom: #ccd05c;
$custom-light: #dede8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd05c",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 92
  },
  "hsl": {
    "h": 62.069,
    "s": 55.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83162,
    "c": 0.13906,
    "h": 110.9
  },
  "luminance": 0.58722
}

Semantic roles & 50–950 ramp

primary
#CCD05C
secondary
#434090
accent
#49DF4E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD05C

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

Preview Lab → · Contrast checker → · Palette generator →

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