#CCBD57#CCBD57

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

Color values

HEX#CCBD57
RGBrgb(204, 189, 87)
HSLhsl(52, 53%, 57%)
HSVhsv(52, 57%, 80%)
CMYKcmyk(0%, 7.4%, 57.4%, 20%)
CIE-LABlab(76.02, -7.46, 52.48)
CIE-LCHlch(76.02, 53.01, 98.09°)
OKLaboklab(79.07% -0.0237 0.1218)
OKLCHoklch(79.07% 0.124 101)
XYZxyz(44.8213, 49.9224, 16.2900)
Luminance0.4992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD57 #5766CC
analogous
#CC8357 #CCBD57 #A0CC57
triadic
#CCBD57 #57CCBD #BD57CC
tetradic
#CCBD57 #57CC83 #5766CC #CC57A0
square
#CCBD57 #57CC83 #5766CC #CC57A0
split-complementary
#CCBD57 #57A0CC #8357CC
monochromatic
#817627 #B0A136 #CCBD57 #DACF86 #E9E2B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBD57#FFFFFF#000000##000000
##CCBD571.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)
#CDB84D
Deuteranopia (green-blind)
#D1BE5C
Tritanopia (blue-blind)
#DAB1A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbd57;
/* rgb */ color: rgb(204, 189, 87);
/* oklch */ color: oklch(79.1% 0.124 101.0);
Tailwind
colors: {
  custom: {
    50: '#ded08a',
    500: '#ccbd57',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd57;
$custom-light: #ded08a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd57",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 87
  },
  "hsl": {
    "h": 52.308,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79073,
    "c": 0.12408,
    "h": 101
  },
  "luminance": 0.49921
}

Semantic roles & 50–950 ramp

primary
#CCBD57
secondary
#A8AED7
accent
#5EDD4B
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140C
muted
#83827D

Preview Lab

Preview with #CCBD57

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

Preview Lab → · Contrast checker → · Palette generator →

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