#CCC03B#CCC03B

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

Color values

HEX#CCC03B
RGBrgb(204, 192, 59)
HSLhsl(55, 59%, 52%)
HSVhsv(55, 71%, 80%)
CMYKcmyk(0%, 5.9%, 71.1%, 20%)
CIE-LABlab(76.59, -10.72, 64.81)
CIE-LCHlch(76.59, 65.69, 99.40°)
OKLaboklab(79.45% -0.0361 0.1437)
OKLCHoklch(79.45% 0.148 104.1)
XYZxyz(44.5428, 50.8542, 11.6064)
Luminance0.5085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC03B #3B47CC
analogous
#CC773B #CCC03B #90CC3B
triadic
#CCC03B #3BCCC0 #C03BCC
tetradic
#CCC03B #3BCC77 #3B47CC #CC3B90
square
#CCC03B #3BCC77 #3B47CC #CC3B90
split-complementary
#CCC03B #3B90CC #773BCC
monochromatic
#70691D #A0962A #CCC03B #D9D06C #E5DF9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC03B#FFFFFF#000000##000000
##CCC03B1.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)
#D1B925
Deuteranopia (green-blind)
#D5C044
Tritanopia (blue-blind)
#DBB3A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccc03b;
/* rgb */ color: rgb(204, 192, 59);
/* oklch */ color: oklch(79.5% 0.148 104.1);
Tailwind
colors: {
  custom: {
    50: '#dfd27a',
    500: '#ccc03b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc03b;
$custom-light: #dfd27a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc03b",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 59
  },
  "hsl": {
    "h": 55.034,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79452,
    "c": 0.14819,
    "h": 104.1
  },
  "luminance": 0.50852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC03B

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

Preview Lab → · Contrast checker → · Palette generator →

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