#CCBD56#CCBD56

#CCBD56 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.1% C 0.125 H 101.1°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#CCBD56
RGBrgb(204, 189, 86)
HSLhsl(52, 54%, 57%)
HSVhsv(52, 58%, 80%)
CMYKcmyk(0%, 7.4%, 57.8%, 20%)
CIE-LABlab(76.01, -7.54, 52.93)
CIE-LCHlch(76.01, 53.47, 98.10°)
OKLaboklab(79.06% -0.0241 0.1226)
OKLCHoklch(79.06% 0.125 101.1)
XYZxyz(44.7808, 49.9062, 16.0763)
Luminance0.4990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD56 #5665CC
analogous
#CC8256 #CCBD56 #A0CC56
triadic
#CCBD56 #56CCBD #BD56CC
tetradic
#CCBD56 #56CC82 #5665CC #CC56A0
square
#CCBD56 #56CC82 #5665CC #CC56A0
split-complementary
#CCBD56 #56A0CC #8256CC
monochromatic
#817527 #B0A035 #CCBD56 #DACF85 #E8E2B4

Accessibility & contrast

On white

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

On black

10.98
#CCBD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD56
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD56#FFFFFF#000000##000000
##CCBD561.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbd56;
/* rgb */ color: rgb(204, 189, 86);
/* oklch */ color: oklch(79.1% 0.125 101.1);
Tailwind
colors: {
  custom: {
    50: '#ded089',
    500: '#ccbd56',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd56;
$custom-light: #ded089;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd56",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 86
  },
  "hsl": {
    "h": 52.373,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79062,
    "c": 0.12498,
    "h": 101.1
  },
  "luminance": 0.49904
}

Semantic roles & 50–950 ramp

primary
#CCBD56
secondary
#A7ADD7
accent
#5DDD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15140C
muted
#84827D

Preview Lab

Preview with #CCBD56

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

Preview Lab → · Contrast checker → · Palette generator →

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