#CCBC57#CCBC57

#CCBC57 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.9% C 0.123 H 100.4°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#CCBC57
RGBrgb(204, 188, 87)
HSLhsl(52, 53%, 57%)
HSVhsv(52, 57%, 80%)
CMYKcmyk(0%, 7.8%, 57.4%, 20%)
CIE-LABlab(75.76, -6.95, 52.18)
CIE-LCHlch(75.76, 52.64, 97.58°)
OKLaboklab(78.86% -0.0222 0.1212)
OKLCHoklch(78.86% 0.123 100.4)
XYZxyz(44.6070, 49.4937, 16.2185)
Luminance0.4949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC57 #5767CC
analogous
#CC8257 #CCBC57 #A2CC57
triadic
#CCBC57 #57CCBC #BC57CC
tetradic
#CCBC57 #57CC82 #5767CC #CC57A2
square
#CCBC57 #57CC82 #5767CC #CC57A2
split-complementary
#CCBC57 #57A2CC #8257CC
monochromatic
#817527 #B09F36 #CCBC57 #DACF86 #E9E1B5

Accessibility & contrast

On white

1.93
#CCBC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#CCBC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC57
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC57#FFFFFF#000000##000000
##CCBC571.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74D
Deuteranopia (green-blind)
#D0BD5C
Tritanopia (blue-blind)
#DAB0A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbc57;
/* rgb */ color: rgb(204, 188, 87);
/* oklch */ color: oklch(78.9% 0.123 100.4);
Tailwind
colors: {
  custom: {
    50: '#decf8a',
    500: '#ccbc57',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc57;
$custom-light: #decf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc57",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 87
  },
  "hsl": {
    "h": 51.795,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78863,
    "c": 0.12318,
    "h": 100.4
  },
  "luminance": 0.49492
}

Semantic roles & 50–950 ramp

primary
#CCBC57
secondary
#A8AED7
accent
#5FDD4B
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCBC57

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

Preview Lab → · Contrast checker → · Palette generator →

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