#CCBC54#CCBC54

#CCBC54 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.8% C 0.126 H 100.6°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#CCBC54
RGBrgb(204, 188, 84)
HSLhsl(52, 54%, 56%)
HSVhsv(52, 59%, 80%)
CMYKcmyk(0%, 7.8%, 58.8%, 20%)
CIE-LABlab(75.73, -7.17, 53.53)
CIE-LCHlch(75.73, 54.01, 97.63°)
OKLaboklab(78.83% -0.0232 0.1237)
OKLCHoklch(78.83% 0.126 100.6)
XYZxyz(44.4869, 49.4457, 15.5864)
Luminance0.4944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC54 #5464CC
analogous
#CC8054 #CCBC54 #A0CC54
triadic
#CCBC54 #54CCBC #BC54CC
tetradic
#CCBC54 #54CC80 #5464CC #CC54A0
square
#CCBC54 #54CC80 #5464CC #CC54A0
split-complementary
#CCBC54 #54A0CC #8054CC
monochromatic
#807426 #AF9E34 #CCBC54 #DACE83 #E8E1B2

Accessibility & contrast

On white

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

On black

10.89
#CCBC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC54
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC54#FFFFFF#000000##000000
##CCBC541.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB749
Deuteranopia (green-blind)
#D1BD59
Tritanopia (blue-blind)
#DAB0A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbc54;
/* rgb */ color: rgb(204, 188, 84);
/* oklch */ color: oklch(78.8% 0.126 100.6);
Tailwind
colors: {
  custom: {
    50: '#decf88',
    500: '#ccbc54',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc54;
$custom-light: #decf88;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc54",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 84
  },
  "hsl": {
    "h": 52,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7883,
    "c": 0.12583,
    "h": 100.6
  },
  "luminance": 0.49444
}

Semantic roles & 50–950 ramp

primary
#CCBC54
secondary
#A5ACD7
accent
#5EDD4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCBC54

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

Preview Lab → · Contrast checker → · Palette generator →

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