#CCB03E#CCB03E

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

Color values

HEX#CCB03E
RGBrgb(204, 176, 62)
HSLhsl(48, 58%, 52%)
HSVhsv(48, 70%, 80%)
CMYKcmyk(0%, 13.7%, 69.6%, 20%)
CIE-LABlab(72.39, -2.27, 59.47)
CIE-LCHlch(72.39, 59.51, 92.19°)
OKLaboklab(76.12% -0.0118 0.133)
OKLCHoklch(76.12% 0.133 95.1)
XYZxyz(41.2987, 44.2380, 10.9200)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB03E #3E5ACC
analogous
#CC693E #CCB03E #A1CC3E
triadic
#CCB03E #3ECCB0 #B03ECC
tetradic
#CCB03E #3ECC69 #3E5ACC #CC3EA1
square
#CCB03E #3ECC69 #3E5ACC #CC3EA1
split-complementary
#CCB03E #3EA1CC #693ECC
monochromatic
#72611E #A28A2B #CCB03E #D9C46E #E6D89F

Accessibility & contrast

On white

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

On black

9.85
#CCB03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB03E
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB03E#FFFFFF#000000##000000
##CCB03E1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD2E
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#DCA399
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ccb03e;
/* rgb */ color: rgb(204, 176, 62);
/* oklch */ color: oklch(76.1% 0.133 95.1);
Tailwind
colors: {
  custom: {
    50: '#dfc77a',
    500: '#ccb03e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb03e;
$custom-light: #dfc77a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb03e",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 62
  },
  "hsl": {
    "h": 48.169,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76124,
    "c": 0.13349,
    "h": 95.1
  },
  "luminance": 0.44236
}

Semantic roles & 50–950 ramp

primary
#CCB03E
secondary
#94A0D2
accent
#65E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB03E

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

Preview Lab → · Contrast checker → · Palette generator →

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