#CCC03F#CCC03F

#CCC03F 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#CCC03F
RGBrgb(204, 192, 63)
HSLhsl(55, 58%, 52%)
HSVhsv(55, 69%, 80%)
CMYKcmyk(0%, 5.9%, 69.1%, 20%)
CIE-LABlab(76.62, -10.52, 63.33)
CIE-LCHlch(76.62, 64.20, 99.43°)
OKLaboklab(79.48% -0.0351 0.1413)
OKLCHoklch(79.48% 0.146 104)
XYZxyz(44.6505, 50.8973, 12.1739)
Luminance0.5090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC03F #3F4BCC
analogous
#CC7A3F #CCC03F #91CC3F
triadic
#CCC03F #3FCCC0 #C03FCC
tetradic
#CCC03F #3FCC7A #3F4BCC #CC3F91
square
#CCC03F #3FCC7A #3F4BCC #CC3F91
split-complementary
#CCC03F #3F91CC #7A3FCC
monochromatic
#726B1E #A3982B #CCC03F #D9D06F #E6E0A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC03F#FFFFFF#000000##000000
##CCC03F1.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)
#D1BA2B
Deuteranopia (green-blind)
#D5C047
Tritanopia (blue-blind)
#DBB3A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccc03f;
/* rgb */ color: rgb(204, 192, 63);
/* oklch */ color: oklch(79.5% 0.146 104.0);
Tailwind
colors: {
  custom: {
    50: '#dfd27c',
    500: '#ccc03f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc03f;
$custom-light: #dfd27c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc03f",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 63
  },
  "hsl": {
    "h": 54.894,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79481,
    "c": 0.14561,
    "h": 104
  },
  "luminance": 0.50896
}

Semantic roles & 50–950 ramp

primary
#CCC03F
secondary
#343A7B
accent
#54E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC03F

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

Preview Lab → · Contrast checker → · Palette generator →

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