#CCB049#CCB049

#CCB049 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.2% C 0.125 H 94.0°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#CCB049
RGBrgb(204, 176, 73)
HSLhsl(47, 56%, 54%)
HSVhsv(47, 64%, 80%)
CMYKcmyk(0%, 13.7%, 64.2%, 20%)
CIE-LABlab(72.48, -1.64, 54.89)
CIE-LCHlch(72.48, 54.92, 91.71°)
OKLaboklab(76.22% -0.0087 0.1251)
OKLCHoklch(76.22% 0.125 94)
XYZxyz(41.6317, 44.3712, 12.6737)
Luminance0.4437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB049 #4965CC
analogous
#CC6F49 #CCB049 #A6CC49
triadic
#CCB049 #49CCB0 #B049CC
tetradic
#CCB049 #49CC6F #4965CC #CC49A6
square
#CCB049 #49CC6F #4965CC #CC49A6
split-complementary
#CCB049 #49A6CC #6F49CC
monochromatic
#796622 #A98F2F #CCB049 #D9C579 #E7DAA9

Accessibility & contrast

On white

2.13
#CCB049 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#CCB049 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB049
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB049#FFFFFF#000000##000000
##CCB0491.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3D
Deuteranopia (green-blind)
#C8B54E
Tritanopia (blue-blind)
#DCA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb049;
/* rgb */ color: rgb(204, 176, 73);
/* oklch */ color: oklch(76.2% 0.125 94.0);
Tailwind
colors: {
  custom: {
    50: '#dfc780',
    500: '#ccb049',
    950: '#000000',
  },
}
SCSS
$custom: #ccb049;
$custom-light: #dfc780;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb049",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 73
  },
  "hsl": {
    "h": 47.176,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76223,
    "c": 0.12537,
    "h": 94
  },
  "luminance": 0.44369
}

Semantic roles & 50–950 ramp

primary
#CCB049
secondary
#9DA8D4
accent
#69E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB049

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

Preview Lab → · Contrast checker → · Palette generator →

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