#CCB547#CCB547

#CCB547 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.2% C 0.131 H 97.4°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#CCB547
RGBrgb(204, 181, 71)
HSLhsl(50, 57%, 54%)
HSVhsv(50, 65%, 80%)
CMYKcmyk(0%, 11.3%, 65.2%, 20%)
CIE-LABlab(73.77, -4.39, 57.15)
CIE-LCHlch(73.77, 57.32, 94.39°)
OKLaboklab(77.24% -0.0168 0.1295)
OKLCHoklch(77.24% 0.131 97.4)
XYZxyz(42.5650, 46.3421, 12.6629)
Luminance0.4634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB547 #475ECC
analogous
#CC7347 #CCB547 #A1CC47
triadic
#CCB547 #47CCB5 #B547CC
tetradic
#CCB547 #47CC73 #475ECC #CC47A1
square
#CCB547 #47CC73 #475ECC #CC47A1
split-complementary
#CCB547 #47A1CC #7347CC
monochromatic
#776921 #A7922E #CCB547 #D9C877 #E7DCA7

Accessibility & contrast

On white

2.05
#CCB547 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#CCB547 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB547
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB547#FFFFFF#000000##000000
##CCB5471.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13A
Deuteranopia (green-blind)
#CCB94D
Tritanopia (blue-blind)
#DBA89E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb547;
/* rgb */ color: rgb(204, 181, 71);
/* oklch */ color: oklch(77.2% 0.131 97.4);
Tailwind
colors: {
  custom: {
    50: '#dfca7f',
    500: '#ccb547',
    950: '#000000',
  },
}
SCSS
$custom: #ccb547;
$custom-light: #dfca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb547",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 71
  },
  "hsl": {
    "h": 49.624,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77239,
    "c": 0.13062,
    "h": 97.4
  },
  "luminance": 0.4634
}

Semantic roles & 50–950 ramp

primary
#CCB547
secondary
#9BA5D4
accent
#62E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB547

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

Preview Lab → · Contrast checker → · Palette generator →

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