#CCBD48#CCBD48

#CCBD48 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.9% C 0.137 H 102.0°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#CCBD48
RGBrgb(204, 189, 72)
HSLhsl(53, 56%, 54%)
HSVhsv(53, 65%, 80%)
CMYKcmyk(0%, 7.4%, 64.7%, 20%)
CIE-LABlab(75.89, -8.48, 58.96)
CIE-LCHlch(75.89, 59.57, 98.18°)
OKLaboklab(78.92% -0.0283 0.1335)
OKLCHoklch(78.92% 0.137 102)
XYZxyz(44.2709, 49.7022, 13.3912)
Luminance0.4970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD48 #4857CC
analogous
#CC7B48 #CCBD48 #99CC48
triadic
#CCBD48 #48CCBD #BD48CC
tetradic
#CCBD48 #48CC7B #4857CC #CC4899
square
#CCBD48 #48CC7B #4857CC #CC4899
split-complementary
#CCBD48 #4899CC #7B48CC
monochromatic
#786E21 #A89A2F #CCBD48 #D9CE78 #E7E0A8

Accessibility & contrast

On white

1.92
#CCBD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#CCBD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD48
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD48#FFFFFF#000000##000000
##CCBD481.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB739
Deuteranopia (green-blind)
#D2BE4F
Tritanopia (blue-blind)
#DBB0A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbd48;
/* rgb */ color: rgb(204, 189, 72);
/* oklch */ color: oklch(78.9% 0.137 102.0);
Tailwind
colors: {
  custom: {
    50: '#dfd081',
    500: '#ccbd48',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd48;
$custom-light: #dfd081;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd48",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 72
  },
  "hsl": {
    "h": 53.182,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78922,
    "c": 0.13652,
    "h": 102
  },
  "luminance": 0.497
}

Semantic roles & 50–950 ramp

primary
#CCBD48
secondary
#9CA2D4
accent
#59E048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBD48

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

Preview Lab → · Contrast checker → · Palette generator →

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