#CCC062#CCC062

#CCC062 is a light, moderate yellow. Relative luminance 0.514; OKLCH L 79.8% C 0.117 H 102.1°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#CCC062
RGBrgb(204, 192, 98)
HSLhsl(53, 51%, 59%)
HSVhsv(53, 52%, 80%)
CMYKcmyk(0%, 5.9%, 52%, 20%)
CIE-LABlab(76.93, -8.13, 48.35)
CIE-LCHlch(76.93, 49.03, 99.54°)
OKLaboklab(79.83% -0.0244 0.114)
OKLCHoklch(79.83% 0.117 102.1)
XYZxyz(45.9575, 51.4201, 19.0571)
Luminance0.5142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC062 #626ECC
analogous
#CC8B62 #CCC062 #A3CC62
triadic
#CCC062 #62CCC0 #C062CC
tetradic
#CCC062 #62CC8B #626ECC #CC62A3
square
#CCC062 #62CC8B #626ECC #CC62A3
split-complementary
#CCC062 #62A3CC #8B62CC
monochromatic
#887D2C #B6A83B #CCC062 #DBD390 #EAE5BE

Accessibility & contrast

On white

1.86
#CCC062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#CCC062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC062
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC062#FFFFFF#000000##000000
##CCC0621.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB59
Deuteranopia (green-blind)
#D2C066
Tritanopia (blue-blind)
#D9B5AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc062;
/* rgb */ color: rgb(204, 192, 98);
/* oklch */ color: oklch(79.8% 0.117 102.1);
Tailwind
colors: {
  custom: {
    50: '#ded291',
    500: '#ccc062',
    950: '#000000',
  },
}
SCSS
$custom: #ccc062;
$custom-light: #ded291;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc062",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 98
  },
  "hsl": {
    "h": 53.208,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79834,
    "c": 0.11663,
    "h": 102.1
  },
  "luminance": 0.51418
}

Semantic roles & 50–950 ramp

primary
#CCC062
secondary
#444C8F
accent
#5DDA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC062

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

Preview Lab → · Contrast checker → · Palette generator →

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