#CCBF57#CCBF57

#CCBF57 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.5% C 0.126 H 102.2°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#CCBF57
RGBrgb(204, 191, 87)
HSLhsl(53, 53%, 57%)
HSVhsv(53, 57%, 80%)
CMYKcmyk(0%, 6.4%, 57.4%, 20%)
CIE-LABlab(76.55, -8.50, 53.08)
CIE-LCHlch(76.55, 53.76, 99.09°)
OKLaboklab(79.49% -0.0267 0.1231)
OKLCHoklch(79.49% 0.126 102.2)
XYZxyz(45.2545, 50.7888, 16.4344)
Luminance0.5079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF57 #5764CC
analogous
#CC8457 #CCBF57 #9FCC57
triadic
#CCBF57 #57CCBF #BF57CC
tetradic
#CCBF57 #57CC84 #5764CC #CC579F
square
#CCBF57 #57CC84 #5764CC #CC579F
split-complementary
#CCBF57 #579FCC #8457CC
monochromatic
#817727 #B0A336 #CCBF57 #DAD186 #E9E3B5

Accessibility & contrast

On white

1.88
#CCBF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#CCBF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF57
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF57#FFFFFF#000000##000000
##CCBF571.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4C
Deuteranopia (green-blind)
#D3BF5C
Tritanopia (blue-blind)
#DAB3A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf57;
/* rgb */ color: rgb(204, 191, 87);
/* oklch */ color: oklch(79.5% 0.126 102.2);
Tailwind
colors: {
  custom: {
    50: '#ded28a',
    500: '#ccbf57',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf57;
$custom-light: #ded28a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf57",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 87
  },
  "hsl": {
    "h": 53.333,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79493,
    "c": 0.12594,
    "h": 102.2
  },
  "luminance": 0.50787
}

Semantic roles & 50–950 ramp

primary
#CCBF57
secondary
#3E4789
accent
#5BDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCBF57

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

Preview Lab → · Contrast checker → · Palette generator →

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