#CCD682#CCD682

#CCD682 is a very light, moderate yellow. Relative luminance 0.625; OKLCH L 85.0% C 0.108 H 114.3°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#CCD682
RGBrgb(204, 214, 130)
HSLhsl(67, 51%, 67%)
HSVhsv(67, 39%, 84%)
CMYKcmyk(4.7%, 0%, 39.3%, 16.1%)
CIE-LABlab(83.20, -16.10, 40.32)
CIE-LCHlch(83.20, 43.42, 111.77°)
OKLaboklab(84.95% -0.0444 0.0984)
OKLCHoklch(84.95% 0.108 114.3)
XYZxyz(52.9781, 62.5428, 30.3959)
Luminance0.6254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD682 #8C82D6
analogous
#D6B682 #CCD682 #A2D682
triadic
#CCD682 #82CCD6 #D682CC
tetradic
#CCD682 #82D6B6 #8C82D6 #D682A2
square
#CCD682 #82D6B6 #8C82D6 #D682A2
split-complementary
#CCD682 #82A2D6 #B682D6
monochromatic
#9AA737 #B9C754 #CCD682 #DFE5B0 #F2F4DE

Accessibility & contrast

On white

1.55
#CCD682 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#CCD682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD682
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD682#FFFFFF#000000##000000
##CCD6821.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CE7C
Deuteranopia (green-blind)
#E1D086
Tritanopia (blue-blind)
#D5CDC1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd682;
/* rgb */ color: rgb(204, 214, 130);
/* oklch */ color: oklch(85.0% 0.108 114.3);
Tailwind
colors: {
  custom: {
    50: '#dde2a7',
    500: '#ccd682',
    950: '#000000',
  },
}
SCSS
$custom: #ccd682;
$custom-light: #dde2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd682",
  "rgb": {
    "r": 204,
    "g": 214,
    "b": 130
  },
  "hsl": {
    "h": 67.143,
    "s": 50.602,
    "l": 67.451
  },
  "oklch": {
    "l": 0.84953,
    "c": 0.10791,
    "h": 114.3
  },
  "luminance": 0.62542
}

Semantic roles & 50–950 ramp

primary
#CCD682
secondary
#5C51AB
accent
#28BE39
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD682

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

Preview Lab → · Contrast checker → · Palette generator →

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