#CCBF54#CCBF54

#CCBF54 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.5% C 0.129 H 102.4°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#CCBF54
RGBrgb(204, 191, 84)
HSLhsl(54, 54%, 56%)
HSVhsv(54, 59%, 80%)
CMYKcmyk(0%, 6.4%, 58.8%, 20%)
CIE-LABlab(76.52, -8.71, 54.42)
CIE-LCHlch(76.52, 55.11, 99.10°)
OKLaboklab(79.46% -0.0277 0.1256)
OKLCHoklch(79.46% 0.129 102.4)
XYZxyz(45.1345, 50.7408, 15.8023)
Luminance0.5074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF54 #5461CC
analogous
#CC8354 #CCBF54 #9DCC54
triadic
#CCBF54 #54CCBF #BF54CC
tetradic
#CCBF54 #54CC83 #5461CC #CC549D
square
#CCBF54 #54CC83 #5461CC #CC549D
split-complementary
#CCBF54 #549DCC #8354CC
monochromatic
#807626 #AFA134 #CCBF54 #DAD183 #E8E2B2

Accessibility & contrast

On white

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

On black

11.15
#CCBF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF54
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF54#FFFFFF#000000##000000
##CCBF541.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbf54;
/* rgb */ color: rgb(204, 191, 84);
/* oklch */ color: oklch(79.5% 0.129 102.4);
Tailwind
colors: {
  custom: {
    50: '#ded288',
    500: '#ccbf54',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf54;
$custom-light: #ded288;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf54",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 53.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7946,
    "c": 0.12857,
    "h": 102.4
  },
  "luminance": 0.50739
}

Semantic roles & 50–950 ramp

primary
#CCBF54
secondary
#3D4587
accent
#5ADD4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCBF54

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

Preview Lab → · Contrast checker → · Palette generator →

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