#CCBF52#CCBF52

#CCBF52 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.4% C 0.130 H 102.5°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#CCBF52
RGBrgb(204, 191, 82)
HSLhsl(54, 54%, 56%)
HSVhsv(54, 60%, 80%)
CMYKcmyk(0%, 6.4%, 59.8%, 20%)
CIE-LABlab(76.50, -8.86, 55.29)
CIE-LCHlch(76.50, 56.00, 99.10°)
OKLaboklab(79.44% -0.0283 0.1272)
OKLCHoklch(79.44% 0.13 102.5)
XYZxyz(45.0573, 50.7099, 15.3956)
Luminance0.5071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF52 #525FCC
analogous
#CC8252 #CCBF52 #9CCC52
triadic
#CCBF52 #52CCBF #BF52CC
tetradic
#CCBF52 #52CC82 #525FCC #CC529C
square
#CCBF52 #52CC82 #525FCC #CC529C
split-complementary
#CCBF52 #529CCC #8252CC
monochromatic
#7E7525 #AEA133 #CCBF52 #DAD081 #E8E2B1

Accessibility & contrast

On white

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

On black

11.14
#CCBF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF52
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF52#FFFFFF#000000##000000
##CCBF521.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB946
Deuteranopia (green-blind)
#D3BF58
Tritanopia (blue-blind)
#DAB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf52;
/* rgb */ color: rgb(204, 191, 82);
/* oklch */ color: oklch(79.4% 0.130 102.5);
Tailwind
colors: {
  custom: {
    50: '#ded287',
    500: '#ccbf52',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf52;
$custom-light: #ded287;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf52",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 53.607,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.7944,
    "c": 0.13029,
    "h": 102.5
  },
  "luminance": 0.50708
}

Semantic roles & 50–950 ramp

primary
#CCBF52
secondary
#3C4486
accent
#5ADE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CCBF52

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

Preview Lab → · Contrast checker → · Palette generator →

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