#CCC45B#CCC45B

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

Color values

HEX#CCC45B
RGBrgb(204, 196, 91)
HSLhsl(56, 53%, 58%)
HSVhsv(56, 55%, 80%)
CMYKcmyk(0%, 3.9%, 55.4%, 20%)
CIE-LABlab(77.92, -10.75, 52.80)
CIE-LCHlch(77.92, 53.88, 101.51°)
OKLaboklab(80.59% -0.0327 0.1229)
OKLCHoklch(80.59% 0.127 104.9)
XYZxyz(46.5315, 53.0741, 17.6887)
Luminance0.5307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC45B #5B63CC
analogous
#CC8B5B #CCC45B #9CCC5B
triadic
#CCC45B #5BCCC4 #C45BCC
tetradic
#CCC45B #5BCC8B #5B63CC #CC5B9C
square
#CCC45B #5BCC8B #5B63CC #CC5B9C
split-complementary
#CCC45B #5B9CCC #8B5BCC
monochromatic
#847D29 #B2AA37 #CCC45B #DBD58A #E9E6B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC45B#FFFFFF#000000##000000
##CCC45B1.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)
#D3BE50
Deuteranopia (green-blind)
#D6C360
Tritanopia (blue-blind)
#D9B8AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc45b;
/* rgb */ color: rgb(204, 196, 91);
/* oklch */ color: oklch(80.6% 0.127 104.9);
Tailwind
colors: {
  custom: {
    50: '#ded58d',
    500: '#ccc45b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc45b;
$custom-light: #ded58d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc45b",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 91
  },
  "hsl": {
    "h": 55.752,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80593,
    "c": 0.1272,
    "h": 104.9
  },
  "luminance": 0.53073
}

Semantic roles & 50–950 ramp

primary
#CCC45B
secondary
#40468B
accent
#56DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC45B

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

Preview Lab → · Contrast checker → · Palette generator →

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