#CCB254#CCB254

#CCB254 is a light, moderate yellow. Relative luminance 0.453; OKLCH L 76.8% C 0.118 H 94.0°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#CCB254
RGBrgb(204, 178, 84)
HSLhsl(47, 54%, 56%)
HSVhsv(47, 59%, 80%)
CMYKcmyk(0%, 12.7%, 58.8%, 20%)
CIE-LABlab(73.10, -1.95, 50.56)
CIE-LCHlch(73.10, 50.60, 92.20°)
OKLaboklab(76.75% -0.0082 0.1173)
OKLCHoklch(76.75% 0.118 94)
XYZxyz(42.4243, 45.3203, 14.8989)
Luminance0.4532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB254 #546ECC
analogous
#CC7654 #CCB254 #AACC54
triadic
#CCB254 #54CCB2 #B254CC
tetradic
#CCB254 #54CC76 #546ECC #CC54AA
square
#CCB254 #54CC76 #546ECC #CC54AA
split-complementary
#CCB254 #54AACC #7654CC
monochromatic
#806C26 #AF9434 #CCB254 #DAC783 #E8DCB2

Accessibility & contrast

On white

2.09
#CCB254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#CCB254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB254
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB254#FFFFFF#000000##000000
##CCB2541.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4B
Deuteranopia (green-blind)
#C9B758
Tritanopia (blue-blind)
#DBA69D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb254;
/* rgb */ color: rgb(204, 178, 84);
/* oklch */ color: oklch(76.8% 0.118 94.0);
Tailwind
colors: {
  custom: {
    50: '#dec887',
    500: '#ccb254',
    950: '#000000',
  },
}
SCSS
$custom: #ccb254;
$custom-light: #dec887;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb254",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 84
  },
  "hsl": {
    "h": 47,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.76752,
    "c": 0.1176,
    "h": 94
  },
  "luminance": 0.45318
}

Semantic roles & 50–950 ramp

primary
#CCB254
secondary
#A5B0D7
accent
#6ADD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB254

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

Preview Lab → · Contrast checker → · Palette generator →

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