#CCD962#CCD962

#CCD962 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.2% C 0.144 H 114.7°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#CCD962
RGBrgb(204, 217, 98)
HSLhsl(67, 61%, 62%)
HSVhsv(67, 55%, 85%)
CMYKcmyk(6%, 0%, 54.8%, 14.9%)
CIE-LABlab(83.62, -20.68, 56.13)
CIE-LCHlch(83.62, 59.82, 110.23°)
OKLaboklab(85.17% -0.0602 0.1309)
OKLCHoklch(85.17% 0.144 114.7)
XYZxyz(51.9203, 63.3457, 21.0447)
Luminance0.6334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD962 #6F62D9
analogous
#D9AB62 #CCD962 #91D962
triadic
#CCD962 #62CCD9 #D962CC
tetradic
#CCD962 #62D9AB #6F62D9 #D96291
square
#CCD962 #62D9AB #6F62D9 #D96291
split-complementary
#CCD962 #6291D9 #AB62D9
monochromatic
#8E9B26 #BBCC31 #CCD962 #DCE593 #ECF1C5

Accessibility & contrast

On white

1.54
#CCD962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#CCD962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD962
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD962#FFFFFF#000000##000000
##CCD9621.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF56
Deuteranopia (green-blind)
#E6D269
Tritanopia (blue-blind)
#D7CEBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd962;
/* rgb */ color: rgb(204, 217, 98);
/* oklch */ color: oklch(85.2% 0.144 114.7);
Tailwind
colors: {
  custom: {
    50: '#dee492',
    500: '#ccd962',
    950: '#000000',
  },
}
SCSS
$custom: #ccd962;
$custom-light: #dee492;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd962",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 66.555,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85166,
    "c": 0.14402,
    "h": 114.7
  },
  "luminance": 0.63345
}

Semantic roles & 50–950 ramp

primary
#CCD962
secondary
#4A409F
accent
#1DC930
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD962

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

Preview Lab → · Contrast checker → · Palette generator →

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