#CCB03C#CCB03C

#CCB03C is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.1% C 0.135 H 95.2°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#CCB03C
RGBrgb(204, 176, 60)
HSLhsl(48, 59%, 52%)
HSVhsv(48, 71%, 80%)
CMYKcmyk(0%, 13.7%, 70.6%, 20%)
CIE-LABlab(72.37, -2.38, 60.26)
CIE-LCHlch(72.37, 60.30, 92.26°)
OKLaboklab(76.11% -0.0123 0.1343)
OKLCHoklch(76.11% 0.135 95.2)
XYZxyz(41.2449, 44.2165, 10.6363)
Luminance0.4421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB03C #3C58CC
analogous
#CC683C #CCB03C #A0CC3C
triadic
#CCB03C #3CCCB0 #B03CCC
tetradic
#CCB03C #3CCC68 #3C58CC #CC3CA0
square
#CCB03C #3CCC68 #3C58CC #CC3CA0
split-complementary
#CCB03C #3CA0CC #683CCC
monochromatic
#70601D #A18A2A #CCB03C #D9C46D #E5D79D

Accessibility & contrast

On white

2.13
#CCB03C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#CCB03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB03C
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB03C#FFFFFF#000000##000000
##CCB03C1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC2B
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#DCA299
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ccb03c;
/* rgb */ color: rgb(204, 176, 60);
/* oklch */ color: oklch(76.1% 0.135 95.2);
Tailwind
colors: {
  custom: {
    50: '#dfc779',
    500: '#ccb03c',
    950: '#000000',
  },
}
SCSS
$custom: #ccb03c;
$custom-light: #dfc779;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb03c",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 60
  },
  "hsl": {
    "h": 48.333,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76108,
    "c": 0.13484,
    "h": 95.2
  },
  "luminance": 0.44214
}

Semantic roles & 50–950 ramp

primary
#CCB03C
secondary
#929FD1
accent
#64E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB03C

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

Preview Lab → · Contrast checker → · Palette generator →

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