#CCC682#CCC682

#CCC682 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.6% C 0.088 H 103.8°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CCC682
RGBrgb(204, 198, 130)
HSLhsl(55, 42%, 65%)
HSVhsv(55, 36%, 80%)
CMYKcmyk(0%, 2.9%, 36.3%, 20%)
CIE-LABlab(78.95, -8.00, 34.86)
CIE-LCHlch(78.95, 35.76, 102.92°)
OKLaboklab(81.57% -0.0212 0.0858)
OKLCHoklch(81.57% 0.088 103.8)
XYZxyz(49.1258, 54.8384, 29.1118)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC682 #8288CC
analogous
#CCA182 #CCC682 #ADCC82
triadic
#CCC682 #82CCC6 #C682CC
tetradic
#CCC682 #82CCA1 #8288CC #CC82AD
square
#CCC682 #82CCA1 #8288CC #CC82AD
split-complementary
#CCC682 #82ADCC #A182CC
monochromatic
#968F3D #BAB257 #CCC682 #DEDAAD #EFEED9

Accessibility & contrast

On white

1.75
#CCC682 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CCC682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC682
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC682#FFFFFF#000000##000000
##CCC6821.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C17D
Deuteranopia (green-blind)
#D4C585
Tritanopia (blue-blind)
#D6BDB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc682;
/* rgb */ color: rgb(204, 198, 130);
/* oklch */ color: oklch(81.6% 0.088 103.8);
Tailwind
colors: {
  custom: {
    50: '#dcd7a7',
    500: '#ccc682',
    950: '#000000',
  },
}
SCSS
$custom: #ccc682;
$custom-light: #dcd7a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc682",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 130
  },
  "hsl": {
    "h": 55.135,
    "s": 42.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.81572,
    "c": 0.0884,
    "h": 103.8
  },
  "luminance": 0.54837
}

Semantic roles & 50–950 ramp

primary
#CCC682
secondary
#555B9D
accent
#3BB530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC682

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

Preview Lab → · Contrast checker → · Palette generator →

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