#CCBA48#CCBA48

#CCBA48 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.3% C 0.134 H 100.3°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#CCBA48
RGBrgb(204, 186, 72)
HSLhsl(52, 56%, 54%)
HSVhsv(52, 65%, 80%)
CMYKcmyk(0%, 8.8%, 64.7%, 20%)
CIE-LABlab(75.09, -6.93, 58.13)
CIE-LCHlch(75.09, 58.54, 96.80°)
OKLaboklab(78.29% -0.0239 0.1318)
OKLCHoklch(78.29% 0.134 100.3)
XYZxyz(43.6323, 48.4250, 13.1783)
Luminance0.4842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA48 #485ACC
analogous
#CC7848 #CCBA48 #9CCC48
triadic
#CCBA48 #48CCBA #BA48CC
tetradic
#CCBA48 #48CC78 #485ACC #CC489C
square
#CCBA48 #48CC78 #485ACC #CC489C
split-complementary
#CCBA48 #489CCC #7848CC
monochromatic
#786C21 #A8972F #CCBA48 #D9CC78 #E7DEA8

Accessibility & contrast

On white

1.97
#CCBA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#CCBA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA48
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA48#FFFFFF#000000##000000
##CCBA481.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53A
Deuteranopia (green-blind)
#D0BC4E
Tritanopia (blue-blind)
#DBADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba48;
/* rgb */ color: rgb(204, 186, 72);
/* oklch */ color: oklch(78.3% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#dfce80',
    500: '#ccba48',
    950: '#000000',
  },
}
SCSS
$custom: #ccba48;
$custom-light: #dfce80;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba48",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 72
  },
  "hsl": {
    "h": 51.818,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78292,
    "c": 0.13393,
    "h": 100.3
  },
  "luminance": 0.48423
}

Semantic roles & 50–950 ramp

primary
#CCBA48
secondary
#9CA3D4
accent
#5DE048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBA48

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

Preview Lab → · Contrast checker → · Palette generator →

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