#CCBD54#CCBD54

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

Color values

HEX#CCBD54
RGBrgb(204, 189, 84)
HSLhsl(53, 54%, 56%)
HSVhsv(53, 59%, 80%)
CMYKcmyk(0%, 7.4%, 58.8%, 20%)
CIE-LABlab(75.99, -7.68, 53.82)
CIE-LCHlch(75.99, 54.37, 98.12°)
OKLaboklab(79.04% -0.0247 0.1243)
OKLCHoklch(79.04% 0.127 101.2)
XYZxyz(44.7013, 49.8744, 15.6579)
Luminance0.4987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD54 #5463CC
analogous
#CC8154 #CCBD54 #9FCC54
triadic
#CCBD54 #54CCBD #BD54CC
tetradic
#CCBD54 #54CC81 #5463CC #CC549F
square
#CCBD54 #54CC81 #5463CC #CC549F
split-complementary
#CCBD54 #549FCC #8154CC
monochromatic
#807426 #AF9F34 #CCBD54 #DACF83 #E8E1B2

Accessibility & contrast

On white

1.91
#CCBD54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBD54#FFFFFF#000000##000000
##CCBD541.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbd54;
/* rgb */ color: rgb(204, 189, 84);
/* oklch */ color: oklch(79.0% 0.127 101.2);
Tailwind
colors: {
  custom: {
    50: '#ded088',
    500: '#ccbd54',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd54;
$custom-light: #ded088;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd54",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 84
  },
  "hsl": {
    "h": 52.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7904,
    "c": 0.12673,
    "h": 101.2
  },
  "luminance": 0.49873
}

Semantic roles & 50–950 ramp

primary
#CCBD54
secondary
#A5ABD7
accent
#5DDD4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCBD54

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

Preview Lab → · Contrast checker → · Palette generator →

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