#CCC454#CCC454

#CCC454 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.5% C 0.133 H 105.2°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#CCC454
RGBrgb(204, 196, 84)
HSLhsl(56, 54%, 56%)
HSVhsv(56, 59%, 80%)
CMYKcmyk(0%, 3.9%, 58.8%, 20%)
CIE-LABlab(77.85, -11.27, 55.90)
CIE-LCHlch(77.85, 57.02, 101.40°)
OKLaboklab(80.52% -0.035 0.1287)
OKLCHoklch(80.52% 0.133 105.2)
XYZxyz(46.2435, 52.9589, 16.1719)
Luminance0.5296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC454 #545CCC
analogous
#CC8854 #CCC454 #98CC54
triadic
#CCC454 #54CCC4 #C454CC
tetradic
#CCC454 #54CC88 #545CCC #CC5498
square
#CCC454 #54CC88 #545CCC #CC5498
split-complementary
#CCC454 #5498CC #8854CC
monochromatic
#807A26 #AFA734 #CCC454 #DAD483 #E8E5B2

Accessibility & contrast

On white

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

On black

11.59
#CCC454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC454
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC454#FFFFFF#000000##000000
##CCC4541.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE48
Deuteranopia (green-blind)
#D7C35A
Tritanopia (blue-blind)
#DAB8AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc454;
/* rgb */ color: rgb(204, 196, 84);
/* oklch */ color: oklch(80.5% 0.133 105.2);
Tailwind
colors: {
  custom: {
    50: '#ded588',
    500: '#ccc454',
    950: '#000000',
  },
}
SCSS
$custom: #ccc454;
$custom-light: #ded588;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc454",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 84
  },
  "hsl": {
    "h": 56,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80517,
    "c": 0.13338,
    "h": 105.2
  },
  "luminance": 0.52957
}

Semantic roles & 50–950 ramp

primary
#CCC454
secondary
#3D4287
accent
#54DD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC454

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

Preview Lab → · Contrast checker → · Palette generator →

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