#CCC45E#CCC45E

#CCC45E is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.124 H 104.8°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#CCC45E
RGBrgb(204, 196, 94)
HSLhsl(56, 52%, 58%)
HSVhsv(56, 54%, 80%)
CMYKcmyk(0%, 3.9%, 53.9%, 20%)
CIE-LABlab(77.95, -10.51, 51.44)
CIE-LCHlch(77.95, 52.51, 101.55°)
OKLaboklab(80.63% -0.0317 0.1203)
OKLCHoklch(80.63% 0.124 104.8)
XYZxyz(46.6635, 53.1269, 18.3840)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC45E #5E66CC
analogous
#CC8D5E #CCC45E #9DCC5E
triadic
#CCC45E #5ECCC4 #C45ECC
tetradic
#CCC45E #5ECC8D #5E66CC #CC5E9D
square
#CCC45E #5ECC8D #5E66CC #CC5E9D
split-complementary
#CCC45E #5E9DCC #8D5ECC
monochromatic
#857F2A #B4AB39 #CCC45E #DBD58C #E9E6BB

Accessibility & contrast

On white

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

On black

11.63
#CCC45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC45E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC45E#FFFFFF#000000##000000
##CCC45E1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE54
Deuteranopia (green-blind)
#D6C363
Tritanopia (blue-blind)
#D9B9AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc45e;
/* rgb */ color: rgb(204, 196, 94);
/* oklch */ color: oklch(80.6% 0.124 104.8);
Tailwind
colors: {
  custom: {
    50: '#ded58f',
    500: '#ccc45e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc45e;
$custom-light: #ded58f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc45e",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 94
  },
  "hsl": {
    "h": 55.636,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80628,
    "c": 0.12443,
    "h": 104.8
  },
  "luminance": 0.53125
}

Semantic roles & 50–950 ramp

primary
#CCC45E
secondary
#42478D
accent
#57DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC45E

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

Preview Lab → · Contrast checker → · Palette generator →

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