#CCD762#CCD762

#CCD762 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.7% C 0.142 H 113.9°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#CCD762
RGBrgb(204, 215, 98)
HSLhsl(66, 59%, 61%)
HSVhsv(66, 54%, 84%)
CMYKcmyk(5.1%, 0%, 54.4%, 15.7%)
CIE-LABlab(83.08, -19.70, 55.51)
CIE-LCHlch(83.08, 58.91, 109.54°)
OKLaboklab(84.73% -0.0574 0.1295)
OKLCHoklch(84.73% 0.142 113.9)
XYZxyz(51.4079, 62.3209, 20.8739)
Luminance0.6232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD762 #6D62D7
analogous
#D7A862 #CCD762 #92D762
triadic
#CCD762 #62CCD7 #D762CC
tetradic
#CCD762 #62D7A8 #6D62D7 #D76292
square
#CCD762 #62D7A8 #6D62D7 #D76292
split-complementary
#CCD762 #6292D7 #A862D7
monochromatic
#8D9827 #BBC933 #CCD762 #DCE393 #ECF0C4

Accessibility & contrast

On white

1.56
#CCD762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.46
#CCD762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD762
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD762#FFFFFF#000000##000000
##CCD7621.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE56
Deuteranopia (green-blind)
#E4D069
Tritanopia (blue-blind)
#D8CCBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd762;
/* rgb */ color: rgb(204, 215, 98);
/* oklch */ color: oklch(84.7% 0.142 113.9);
Tailwind
colors: {
  custom: {
    50: '#dee392',
    500: '#ccd762',
    950: '#000000',
  },
}
SCSS
$custom: #ccd762;
$custom-light: #dee392;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd762",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 65.641,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84734,
    "c": 0.14167,
    "h": 113.9
  },
  "luminance": 0.6232
}

Semantic roles & 50–950 ramp

primary
#CCD762
secondary
#49419D
accent
#1EC72E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD762

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

Preview Lab → · Contrast checker → · Palette generator →

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