#CCBB57#CCBB57

#CCBB57 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.7% C 0.122 H 99.8°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#CCBB57
RGBrgb(204, 187, 87)
HSLhsl(51, 53%, 57%)
HSVhsv(51, 57%, 80%)
CMYKcmyk(0%, 8.3%, 57.4%, 20%)
CIE-LABlab(75.49, -6.43, 51.88)
CIE-LCHlch(75.49, 52.28, 97.06°)
OKLaboklab(78.65% -0.0208 0.1205)
OKLCHoklch(78.65% 0.122 99.8)
XYZxyz(44.3941, 49.0679, 16.1476)
Luminance0.4907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB57 #5768CC
analogous
#CC8157 #CCBB57 #A3CC57
triadic
#CCBB57 #57CCBB #BB57CC
tetradic
#CCBB57 #57CC81 #5768CC #CC57A3
square
#CCBB57 #57CC81 #5768CC #CC57A3
split-complementary
#CCBB57 #57A3CC #8157CC
monochromatic
#817427 #B09E36 #CCBB57 #DACE86 #E9E1B5

Accessibility & contrast

On white

1.94
#CCBB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#CCBB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB57
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB57#FFFFFF#000000##000000
##CCBB571.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB64D
Deuteranopia (green-blind)
#D0BD5C
Tritanopia (blue-blind)
#DAAFA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbb57;
/* rgb */ color: rgb(204, 187, 87);
/* oklch */ color: oklch(78.7% 0.122 99.8);
Tailwind
colors: {
  custom: {
    50: '#decf8a',
    500: '#ccbb57',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb57;
$custom-light: #decf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb57",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 87
  },
  "hsl": {
    "h": 51.282,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78654,
    "c": 0.12229,
    "h": 99.8
  },
  "luminance": 0.49066
}

Semantic roles & 50–950 ramp

primary
#CCBB57
secondary
#A8AFD7
accent
#60DD4B
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCBB57

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

Preview Lab → · Contrast checker → · Palette generator →

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