#CCC462#CCC462

#CCC462 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.121 H 104.6°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CCC462
RGBrgb(204, 196, 98)
HSLhsl(55, 51%, 59%)
HSVhsv(55, 52%, 80%)
CMYKcmyk(0%, 3.9%, 52%, 20%)
CIE-LABlab(77.99, -10.18, 49.61)
CIE-LCHlch(77.99, 50.64, 101.60°)
OKLaboklab(80.68% -0.0303 0.1168)
OKLCHoklch(80.68% 0.121 104.6)
XYZxyz(46.8477, 53.2005, 19.3539)
Luminance0.5320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC462 #626ACC
analogous
#CC8F62 #CCC462 #9FCC62
triadic
#CCC462 #62CCC4 #C462CC
tetradic
#CCC462 #62CC8F #626ACC #CC629F
square
#CCC462 #62CC8F #626ACC #CC629F
split-complementary
#CCC462 #629FCC #8F62CC
monochromatic
#88812C #B6AC3B #CCC462 #DBD590 #EAE7BE

Accessibility & contrast

On white

1.80
#CCC462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CCC462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC462
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC462#FFFFFF#000000##000000
##CCC4621.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE59
Deuteranopia (green-blind)
#D6C367
Tritanopia (blue-blind)
#D9B9AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc462;
/* rgb */ color: rgb(204, 196, 98);
/* oklch */ color: oklch(80.7% 0.121 104.6);
Tailwind
colors: {
  custom: {
    50: '#ded591',
    500: '#ccc462',
    950: '#000000',
  },
}
SCSS
$custom: #ccc462;
$custom-light: #ded591;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc462",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 98
  },
  "hsl": {
    "h": 55.472,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80676,
    "c": 0.12063,
    "h": 104.6
  },
  "luminance": 0.53199
}

Semantic roles & 50–950 ramp

primary
#CCC462
secondary
#44498F
accent
#58DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC462

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

Preview Lab → · Contrast checker → · Palette generator →

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