#CCC459#CCC459

#CCC459 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.129 H 105.0°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CCC459
RGBrgb(204, 196, 89)
HSLhsl(56, 53%, 57%)
HSVhsv(56, 56%, 80%)
CMYKcmyk(0%, 3.9%, 56.4%, 20%)
CIE-LABlab(77.90, -10.91, 53.69)
CIE-LCHlch(77.90, 54.79, 101.48°)
OKLaboklab(80.57% -0.0334 0.1246)
OKLCHoklch(80.57% 0.129 105)
XYZxyz(46.4464, 53.0400, 17.2404)
Luminance0.5304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC459 #5961CC
analogous
#CC8A59 #CCC459 #9BCC59
triadic
#CCC459 #59CCC4 #C459CC
tetradic
#CCC459 #59CC8A #5961CC #CC599B
square
#CCC459 #59CC8A #5961CC #CC599B
split-complementary
#CCC459 #599BCC #8A59CC
monochromatic
#837C28 #B1A936 #CCC459 #DAD588 #E9E5B7

Accessibility & contrast

On white

1.81
#CCC459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#CCC459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC459
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC459#FFFFFF#000000##000000
##CCC4591.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE4E
Deuteranopia (green-blind)
#D6C35F
Tritanopia (blue-blind)
#DAB8AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc459;
/* rgb */ color: rgb(204, 196, 89);
/* oklch */ color: oklch(80.6% 0.129 105.0);
Tailwind
colors: {
  custom: {
    50: '#ded58b',
    500: '#ccc459',
    950: '#000000',
  },
}
SCSS
$custom: #ccc459;
$custom-light: #ded58b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc459",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 89
  },
  "hsl": {
    "h": 55.826,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8057,
    "c": 0.12902,
    "h": 105
  },
  "luminance": 0.53038
}

Semantic roles & 50–950 ramp

primary
#CCC459
secondary
#3F448A
accent
#55DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC459

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

Preview Lab → · Contrast checker → · Palette generator →

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