#CCD05B#CCD05B

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

Color values

HEX#CCD05B
RGBrgb(204, 208, 91)
HSLhsl(62, 55%, 59%)
HSVhsv(62, 56%, 82%)
CMYKcmyk(1.9%, 0%, 56.2%, 18.4%)
CIE-LABlab(81.13, -16.80, 56.44)
CIE-LCHlch(81.13, 58.89, 106.58°)
OKLaboklab(83.15% -0.0499 0.1307)
OKLCHoklch(83.15% 0.14 110.9)
XYZxyz(49.3473, 58.7056, 18.6273)
Luminance0.5870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD05B #5F5BD0
analogous
#D0995B #CCD05B #91D05B
triadic
#CCD05B #5BCCD0 #D05BCC
tetradic
#CCD05B #5BD099 #5F5BD0 #D05B91
square
#CCD05B #5BD099 #5F5BD0 #D05B91
split-complementary
#CCD05B #5B91D0 #995BD0
monochromatic
#868927 #B4B935 #CCD05B #DBDE8B #EAEBBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD05B#FFFFFF#000000##000000
##CCD05B1.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)
#DFC84F
Deuteranopia (green-blind)
#DFCB62
Tritanopia (blue-blind)
#D9C5B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccd05b;
/* rgb */ color: rgb(204, 208, 91);
/* oklch */ color: oklch(83.2% 0.140 110.9);
Tailwind
colors: {
  custom: {
    50: '#dede8d',
    500: '#ccd05b',
    950: '#000000',
  },
}
SCSS
$custom: #ccd05b;
$custom-light: #dede8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd05b",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 91
  },
  "hsl": {
    "h": 62.051,
    "s": 55.45,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83151,
    "c": 0.13993,
    "h": 110.9
  },
  "luminance": 0.58704
}

Semantic roles & 50–950 ramp

primary
#CCD05B
secondary
#423F90
accent
#49DF4E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD05B

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

Preview Lab → · Contrast checker → · Palette generator →

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