#CCB03D#CCB03D

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

Color values

HEX#CCB03D
RGBrgb(204, 176, 61)
HSLhsl(48, 58%, 52%)
HSVhsv(48, 70%, 80%)
CMYKcmyk(0%, 13.7%, 70.1%, 20%)
CIE-LABlab(72.38, -2.33, 59.87)
CIE-LCHlch(72.38, 59.91, 92.22°)
OKLaboklab(76.12% -0.012 0.1336)
OKLCHoklch(76.12% 0.134 95.1)
XYZxyz(41.2716, 44.2272, 10.7768)
Luminance0.4422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB03D #3D59CC
analogous
#CC693D #CCB03D #A0CC3D
triadic
#CCB03D #3DCCB0 #B03DCC
tetradic
#CCB03D #3DCC69 #3D59CC #CC3DA0
square
#CCB03D #3DCC69 #3D59CC #CC3DA0
split-complementary
#CCB03D #3DA0CC #693DCC
monochromatic
#71611E #A18A2A #CCB03D #D9C46D #E5D79E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB03D#FFFFFF#000000##000000
##CCB03D1.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)
#C2AC2D
Deuteranopia (green-blind)
#C9B543
Tritanopia (blue-blind)
#DCA299
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ccb03d;
/* rgb */ color: rgb(204, 176, 61);
/* oklch */ color: oklch(76.1% 0.134 95.1);
Tailwind
colors: {
  custom: {
    50: '#dfc779',
    500: '#ccb03d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb03d;
$custom-light: #dfc779;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb03d",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 61
  },
  "hsl": {
    "h": 48.252,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76116,
    "c": 0.13417,
    "h": 95.1
  },
  "luminance": 0.44225
}

Semantic roles & 50–950 ramp

primary
#CCB03D
secondary
#939FD2
accent
#65E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB03D

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

Preview Lab → · Contrast checker → · Palette generator →

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