#CCBD78#CCBD78

#CCBD78 is a light, moderate yellow. Relative luminance 0.506; OKLCH L 79.5% C 0.091 H 97.4°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#CCBD78
RGBrgb(204, 189, 120)
HSLhsl(49, 45%, 64%)
HSVhsv(49, 41%, 80%)
CMYKcmyk(0%, 7.4%, 41.2%, 20%)
CIE-LABlab(76.43, -4.45, 36.76)
CIE-LCHlch(76.43, 37.03, 96.90°)
OKLaboklab(79.53% -0.0117 0.0898)
OKLCHoklch(79.53% 0.091 97.4)
XYZxyz(46.4906, 50.5901, 25.0816)
Luminance0.5059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD78 #7887CC
analogous
#CC9378 #CCBD78 #B1CC78
triadic
#CCBD78 #78CCBD #BD78CC
tetradic
#CCBD78 #78CC93 #7887CC #CC78B1
square
#CCBD78 #78CC93 #7887CC #CC78B1
split-complementary
#CCBD78 #78B1CC #9378CC
monochromatic
#928237 #BBA74C #CCBD78 #DDD3A4 #EEE8D1

Accessibility & contrast

On white

1.89
#CCBD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#CCBD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD78
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD78#FFFFFF#000000##000000
##CCBD781.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB973
Deuteranopia (green-blind)
#CEBF7B
Tritanopia (blue-blind)
#D8B4AC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbd78;
/* rgb */ color: rgb(204, 189, 120);
/* oklch */ color: oklch(79.5% 0.091 97.4);
Tailwind
colors: {
  custom: {
    50: '#ddd0a0',
    500: '#ccbd78',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd78;
$custom-light: #ddd0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd78",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 120
  },
  "hsl": {
    "h": 49.286,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.79529,
    "c": 0.09052,
    "h": 97.4
  },
  "luminance": 0.50589
}

Semantic roles & 50–950 ramp

primary
#CCBD78
secondary
#4F5D99
accent
#46B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCBD78

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

Preview Lab → · Contrast checker → · Palette generator →

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