#CCC03E#CCC03E

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

Color values

HEX#CCC03E
RGBrgb(204, 192, 62)
HSLhsl(55, 58%, 52%)
HSVhsv(55, 70%, 80%)
CMYKcmyk(0%, 5.9%, 69.6%, 20%)
CIE-LABlab(76.61, -10.58, 63.71)
CIE-LCHlch(76.61, 64.58, 99.42°)
OKLaboklab(79.47% -0.0354 0.1419)
OKLCHoklch(79.47% 0.146 104)
XYZxyz(44.6228, 50.8862, 12.0280)
Luminance0.5088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC03E #3E4ACC
analogous
#CC793E #CCC03E #91CC3E
triadic
#CCC03E #3ECCC0 #C03ECC
tetradic
#CCC03E #3ECC79 #3E4ACC #CC3E91
square
#CCC03E #3ECC79 #3E4ACC #CC3E91
split-complementary
#CCC03E #3E91CC #793ECC
monochromatic
#726B1E #A2982B #CCC03E #D9D06E #E6E09F

Accessibility & contrast

On white

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

On black

11.18
#CCC03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC03E
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC03E#FFFFFF#000000##000000
##CCC03E1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc03e;
/* rgb */ color: rgb(204, 192, 62);
/* oklch */ color: oklch(79.5% 0.146 104.0);
Tailwind
colors: {
  custom: {
    50: '#dfd27b',
    500: '#ccc03e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc03e;
$custom-light: #dfd27b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc03e",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 62
  },
  "hsl": {
    "h": 54.93,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79474,
    "c": 0.14627,
    "h": 104
  },
  "luminance": 0.50884
}

Semantic roles & 50–950 ramp

primary
#CCC03E
secondary
#343A7B
accent
#53E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC03E

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

Preview Lab → · Contrast checker → · Palette generator →

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