#CCB03A#CCB03A

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

Color values

HEX#CCB03A
RGBrgb(204, 176, 58)
HSLhsl(48, 59%, 51%)
HSVhsv(48, 72%, 80%)
CMYKcmyk(0%, 13.7%, 71.6%, 20%)
CIE-LABlab(72.36, -2.48, 61.03)
CIE-LCHlch(72.36, 61.08, 92.32°)
OKLaboklab(76.09% -0.0128 0.1356)
OKLCHoklch(76.09% 0.136 95.4)
XYZxyz(41.1930, 44.1957, 10.3631)
Luminance0.4419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB03A #3A56CC
analogous
#CC673A #CCB03A #9FCC3A
triadic
#CCB03A #3ACCB0 #B03ACC
tetradic
#CCB03A #3ACC67 #3A56CC #CC3A9F
square
#CCB03A #3ACC67 #3A56CC #CC3A9F
split-complementary
#CCB03A #3A9FCC #673ACC
monochromatic
#6F5F1D #A08929 #CCB03A #D9C36B #E5D79B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB03A#FFFFFF#000000##000000
##CCB03A1.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)
#C2AC28
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#DCA298
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ccb03a;
/* rgb */ color: rgb(204, 176, 58);
/* oklch */ color: oklch(76.1% 0.136 95.4);
Tailwind
colors: {
  custom: {
    50: '#dfc777',
    500: '#ccb03a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb03a;
$custom-light: #dfc777;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb03a",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 58
  },
  "hsl": {
    "h": 48.493,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76093,
    "c": 0.13615,
    "h": 95.4
  },
  "luminance": 0.44194
}

Semantic roles & 50–950 ramp

primary
#CCB03A
secondary
#919DD1
accent
#64E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB03A

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

Preview Lab → · Contrast checker → · Palette generator →

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