#CCBC48#CCBC48

#CCBC48 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.7% C 0.136 H 101.4°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#CCBC48
RGBrgb(204, 188, 72)
HSLhsl(53, 56%, 54%)
HSVhsv(53, 65%, 80%)
CMYKcmyk(0%, 7.8%, 64.7%, 20%)
CIE-LABlab(75.62, -7.96, 58.68)
CIE-LCHlch(75.62, 59.22, 97.73°)
OKLaboklab(78.71% -0.0269 0.133)
OKLCHoklch(78.71% 0.136 101.4)
XYZxyz(44.0566, 49.2735, 13.3197)
Luminance0.4927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC48 #4858CC
analogous
#CC7A48 #CCBC48 #9ACC48
triadic
#CCBC48 #48CCBC #BC48CC
tetradic
#CCBC48 #48CC7A #4858CC #CC489A
square
#CCBC48 #48CC7A #4858CC #CC489A
split-complementary
#CCBC48 #489ACC #7A48CC
monochromatic
#786E21 #A8992F #CCBC48 #D9CE78 #E7DFA8

Accessibility & contrast

On white

1.93
#CCBC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#CCBC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC48
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC48#FFFFFF#000000##000000
##CCBC481.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB73A
Deuteranopia (green-blind)
#D1BD4F
Tritanopia (blue-blind)
#DBAFA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbc48;
/* rgb */ color: rgb(204, 188, 72);
/* oklch */ color: oklch(78.7% 0.136 101.4);
Tailwind
colors: {
  custom: {
    50: '#dfcf80',
    500: '#ccbc48',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc48;
$custom-light: #dfcf80;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc48",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 72
  },
  "hsl": {
    "h": 52.727,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78712,
    "c": 0.13564,
    "h": 101.4
  },
  "luminance": 0.49272
}

Semantic roles & 50–950 ramp

primary
#CCBC48
secondary
#9CA3D4
accent
#5AE048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBC48

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

Preview Lab → · Contrast checker → · Palette generator →

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