#CCC45D#CCC45D

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

Color values

HEX#CCC45D
RGBrgb(204, 196, 93)
HSLhsl(56, 52%, 58%)
HSVhsv(56, 54%, 80%)
CMYKcmyk(0%, 3.9%, 54.4%, 20%)
CIE-LABlab(77.94, -10.59, 51.90)
CIE-LCHlch(77.94, 52.97, 101.54°)
OKLaboklab(80.62% -0.032 0.1212)
OKLCHoklch(80.62% 0.125 104.8)
XYZxyz(46.6190, 53.1090, 18.1492)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC45D #5D65CC
analogous
#CC8C5D #CCC45D #9CCC5D
triadic
#CCC45D #5DCCC4 #C45DCC
tetradic
#CCC45D #5DCC8C #5D65CC #CC5D9C
square
#CCC45D #5DCC8C #5D65CC #CC5D9C
split-complementary
#CCC45D #5D9CCC #8C5DCC
monochromatic
#857E2A #B3AA38 #CCC45D #DBD58C #E9E6BA

Accessibility & contrast

On white

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

On black

11.62
#CCC45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC45D
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC45D#FFFFFF#000000##000000
##CCC45D1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc45d;
/* rgb */ color: rgb(204, 196, 93);
/* oklch */ color: oklch(80.6% 0.125 104.8);
Tailwind
colors: {
  custom: {
    50: '#ded58e',
    500: '#ccc45d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc45d;
$custom-light: #ded58e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc45d",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 93
  },
  "hsl": {
    "h": 55.676,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80616,
    "c": 0.12537,
    "h": 104.8
  },
  "luminance": 0.53108
}

Semantic roles & 50–950 ramp

primary
#CCC45D
secondary
#41478C
accent
#57DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC45D

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

Preview Lab → · Contrast checker → · Palette generator →

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