#CCC45A#CCC45A

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

Color values

HEX#CCC45A
RGBrgb(204, 196, 90)
HSLhsl(56, 53%, 58%)
HSVhsv(56, 56%, 80%)
CMYKcmyk(0%, 3.9%, 55.9%, 20%)
CIE-LABlab(77.91, -10.83, 53.25)
CIE-LCHlch(77.91, 54.34, 101.50°)
OKLaboklab(80.58% -0.033 0.1238)
OKLCHoklch(80.58% 0.128 104.9)
XYZxyz(46.4887, 53.0569, 17.4630)
Luminance0.5305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC45A #5A62CC
analogous
#CC8B5A #CCC45A #9BCC5A
triadic
#CCC45A #5ACCC4 #C45ACC
tetradic
#CCC45A #5ACC8B #5A62CC #CC5A9B
square
#CCC45A #5ACC8B #5A62CC #CC5A9B
split-complementary
#CCC45A #5A9BCC #8B5ACC
monochromatic
#837D29 #B2A937 #CCC45A #DAD589 #E9E5B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC45A#FFFFFF#000000##000000
##CCC45A1.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)
#D3BE4F
Deuteranopia (green-blind)
#D6C35F
Tritanopia (blue-blind)
#D9B8AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc45a;
/* rgb */ color: rgb(204, 196, 90);
/* oklch */ color: oklch(80.6% 0.128 104.9);
Tailwind
colors: {
  custom: {
    50: '#ded58c',
    500: '#ccc45a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc45a;
$custom-light: #ded58c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc45a",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 90
  },
  "hsl": {
    "h": 55.789,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80581,
    "c": 0.12811,
    "h": 104.9
  },
  "luminance": 0.53055
}

Semantic roles & 50–950 ramp

primary
#CCC45A
secondary
#40458A
accent
#56DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC45A

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

Preview Lab → · Contrast checker → · Palette generator →

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