#CCBD51#CCBD51

#CCBD51 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.0% C 0.129 H 101.4°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#CCBD51
RGBrgb(204, 189, 81)
HSLhsl(53, 55%, 56%)
HSVhsv(53, 60%, 80%)
CMYKcmyk(0%, 7.4%, 60.3%, 20%)
CIE-LABlab(75.96, -7.90, 55.14)
CIE-LCHlch(75.96, 55.71, 98.15°)
OKLaboklab(79.01% -0.0257 0.1267)
OKLCHoklch(79.01% 0.129 101.4)
XYZxyz(44.5863, 49.8284, 15.0523)
Luminance0.4983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD51 #5160CC
analogous
#CC7F51 #CCBD51 #9DCC51
triadic
#CCBD51 #51CCBD #BD51CC
tetradic
#CCBD51 #51CC7F #5160CC #CC519D
square
#CCBD51 #51CC7F #5160CC #CC519D
split-complementary
#CCBD51 #519DCC #7F51CC
monochromatic
#7E7325 #AD9E33 #CCBD51 #DACF80 #E8E1B0

Accessibility & contrast

On white

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

On black

10.97
#CCBD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD51
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD51#FFFFFF#000000##000000
##CCBD511.001.9210.9710.97
#FFFFFF1.921.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB845
Deuteranopia (green-blind)
#D1BE57
Tritanopia (blue-blind)
#DAB1A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbd51;
/* rgb */ color: rgb(204, 189, 81);
/* oklch */ color: oklch(79.0% 0.129 101.4);
Tailwind
colors: {
  custom: {
    50: '#ded086',
    500: '#ccbd51',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd51;
$custom-light: #ded086;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd51",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 81
  },
  "hsl": {
    "h": 52.683,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79009,
    "c": 0.1293,
    "h": 101.4
  },
  "luminance": 0.49827
}

Semantic roles & 50–950 ramp

primary
#CCBD51
secondary
#A3A9D6
accent
#5CDE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBD51

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

Preview Lab → · Contrast checker → · Palette generator →

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