#CCB048#CCB048

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

Color values

HEX#CCB048
RGBrgb(204, 176, 72)
HSLhsl(47, 56%, 54%)
HSVhsv(47, 65%, 80%)
CMYKcmyk(0%, 13.7%, 64.7%, 20%)
CIE-LABlab(72.47, -1.70, 55.33)
CIE-LCHlch(72.47, 55.35, 91.76°)
OKLaboklab(76.21% -0.009 0.1258)
OKLCHoklch(76.21% 0.126 94.1)
XYZxyz(41.5988, 44.3581, 12.5005)
Luminance0.4436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB048 #4864CC
analogous
#CC6E48 #CCB048 #A6CC48
triadic
#CCB048 #48CCB0 #B048CC
tetradic
#CCB048 #48CC6E #4864CC #CC48A6
square
#CCB048 #48CC6E #4864CC #CC48A6
split-complementary
#CCB048 #48A6CC #6E48CC
monochromatic
#786621 #A88E2F #CCB048 #D9C578 #E7D9A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB048#FFFFFF#000000##000000
##CCB0481.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)
#C1AD3C
Deuteranopia (green-blind)
#C8B54D
Tritanopia (blue-blind)
#DCA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb048;
/* rgb */ color: rgb(204, 176, 72);
/* oklch */ color: oklch(76.2% 0.126 94.1);
Tailwind
colors: {
  custom: {
    50: '#dfc780',
    500: '#ccb048',
    950: '#000000',
  },
}
SCSS
$custom: #ccb048;
$custom-light: #dfc780;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb048",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 47.273,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76213,
    "c": 0.12615,
    "h": 94.1
  },
  "luminance": 0.44356
}

Semantic roles & 50–950 ramp

primary
#CCB048
secondary
#9CA8D4
accent
#68E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB048

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

Preview Lab → · Contrast checker → · Palette generator →

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