#CCC03D#CCC03D

#CCC03D is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.5% C 0.147 H 104.0°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#CCC03D
RGBrgb(204, 192, 61)
HSLhsl(55, 58%, 52%)
HSVhsv(55, 70%, 80%)
CMYKcmyk(0%, 5.9%, 70.1%, 20%)
CIE-LABlab(76.60, -10.63, 64.08)
CIE-LCHlch(76.60, 64.95, 99.42°)
OKLaboklab(79.47% -0.0356 0.1425)
OKLCHoklch(79.47% 0.147 104)
XYZxyz(44.5956, 50.8753, 11.8848)
Luminance0.5087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC03D #3D49CC
analogous
#CC793D #CCC03D #91CC3D
triadic
#CCC03D #3DCCC0 #C03DCC
tetradic
#CCC03D #3DCC79 #3D49CC #CC3D91
square
#CCC03D #3DCC79 #3D49CC #CC3D91
split-complementary
#CCC03D #3D91CC #793DCC
monochromatic
#716A1E #A1972A #CCC03D #D9D06D #E5DF9E

Accessibility & contrast

On white

1.88
#CCC03D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#CCC03D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC03D
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC03D#FFFFFF#000000##000000
##CCC03D1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA28
Deuteranopia (green-blind)
#D5C046
Tritanopia (blue-blind)
#DBB3A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccc03d;
/* rgb */ color: rgb(204, 192, 61);
/* oklch */ color: oklch(79.5% 0.147 104.0);
Tailwind
colors: {
  custom: {
    50: '#dfd27b',
    500: '#ccc03d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc03d;
$custom-light: #dfd27b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc03d",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 61
  },
  "hsl": {
    "h": 54.965,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79466,
    "c": 0.14691,
    "h": 104
  },
  "luminance": 0.50874
}

Semantic roles & 50–950 ramp

primary
#CCC03D
secondary
#33397A
accent
#53E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC03D

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

Preview Lab → · Contrast checker → · Palette generator →

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