#CCB047#CCB047

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

Color values

HEX#CCB047
RGBrgb(204, 176, 71)
HSLhsl(47, 57%, 54%)
HSVhsv(47, 65%, 80%)
CMYKcmyk(0%, 13.7%, 65.2%, 20%)
CIE-LABlab(72.46, -1.76, 55.75)
CIE-LCHlch(72.46, 55.78, 91.81°)
OKLaboklab(76.2% -0.0093 0.1266)
OKLCHoklch(76.2% 0.127 94.2)
XYZxyz(41.5665, 44.3451, 12.3301)
Luminance0.4434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB047 #4763CC
analogous
#CC6E47 #CCB047 #A6CC47
triadic
#CCB047 #47CCB0 #B047CC
tetradic
#CCB047 #47CC6E #4763CC #CC47A6
square
#CCB047 #47CC6E #4763CC #CC47A6
split-complementary
#CCB047 #47A6CC #6E47CC
monochromatic
#776521 #A78E2E #CCB047 #D9C577 #E7D9A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB047#FFFFFF#000000##000000
##CCB0471.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)
#C1AD3B
Deuteranopia (green-blind)
#C9B54C
Tritanopia (blue-blind)
#DCA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb047;
/* rgb */ color: rgb(204, 176, 71);
/* oklch */ color: oklch(76.2% 0.127 94.2);
Tailwind
colors: {
  custom: {
    50: '#dfc77f',
    500: '#ccb047',
    950: '#000000',
  },
}
SCSS
$custom: #ccb047;
$custom-light: #dfc77f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb047",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 47.368,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76204,
    "c": 0.12693,
    "h": 94.2
  },
  "luminance": 0.44343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB047

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

Preview Lab → · Contrast checker → · Palette generator →

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