#CCB054#CCB054

#CCB054 is a light, moderate yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.116 H 92.5°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#CCB054
RGBrgb(204, 176, 84)
HSLhsl(46, 54%, 56%)
HSVhsv(46, 59%, 80%)
CMYKcmyk(0%, 13.7%, 58.8%, 20%)
CIE-LABlab(72.58, -0.89, 49.97)
CIE-LCHlch(72.58, 49.98, 91.02°)
OKLaboklab(76.34% -0.0052 0.116)
OKLCHoklch(76.34% 0.116 92.5)
XYZxyz(42.0292, 44.5302, 14.7672)
Luminance0.4453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB054 #5470CC
analogous
#CC7454 #CCB054 #ACCC54
triadic
#CCB054 #54CCB0 #B054CC
tetradic
#CCB054 #54CC74 #5470CC #CC54AC
square
#CCB054 #54CC74 #5470CC #CC54AC
split-complementary
#CCB054 #54ACCC #7454CC
monochromatic
#806B26 #AF9234 #CCB054 #DAC683 #E8DCB2

Accessibility & contrast

On white

2.12
#CCB054 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#CCB054 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB054
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB054#FFFFFF#000000##000000
##CCB0541.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD4B
Deuteranopia (green-blind)
#C8B658
Tritanopia (blue-blind)
#DBA49B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb054;
/* rgb */ color: rgb(204, 176, 84);
/* oklch */ color: oklch(76.3% 0.116 92.5);
Tailwind
colors: {
  custom: {
    50: '#dec787',
    500: '#ccb054',
    950: '#000000',
  },
}
SCSS
$custom: #ccb054;
$custom-light: #dec787;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb054",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 84
  },
  "hsl": {
    "h": 46,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7634,
    "c": 0.11615,
    "h": 92.5
  },
  "luminance": 0.44528
}

Semantic roles & 50–950 ramp

primary
#CCB054
secondary
#A5B1D7
accent
#6DDD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB054

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

Preview Lab → · Contrast checker → · Palette generator →

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