#CCB549#CCB549

#CCB549 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.3% C 0.129 H 97.2°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#CCB549
RGBrgb(204, 181, 73)
HSLhsl(49, 56%, 54%)
HSVhsv(49, 64%, 80%)
CMYKcmyk(0%, 11.3%, 64.2%, 20%)
CIE-LABlab(73.78, -4.27, 56.30)
CIE-LCHlch(73.78, 56.46, 94.33°)
OKLaboklab(77.26% -0.0162 0.1281)
OKLCHoklch(77.26% 0.129 97.2)
XYZxyz(42.6302, 46.3682, 13.0065)
Luminance0.4637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB549 #4960CC
analogous
#CC7449 #CCB549 #A1CC49
triadic
#CCB549 #49CCB5 #B549CC
tetradic
#CCB549 #49CC74 #4960CC #CC49A1
square
#CCB549 #49CC74 #4960CC #CC49A1
split-complementary
#CCB549 #49A1CC #7449CC
monochromatic
#796A22 #A9932F #CCB549 #D9C879 #E7DCA9

Accessibility & contrast

On white

2.04
#CCB549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB549#FFFFFF#000000##000000
##CCB5491.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccb549;
/* rgb */ color: rgb(204, 181, 73);
/* oklch */ color: oklch(77.3% 0.129 97.2);
Tailwind
colors: {
  custom: {
    50: '#dfca81',
    500: '#ccb549',
    950: '#000000',
  },
}
SCSS
$custom: #ccb549;
$custom-light: #dfca81;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb549",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 73
  },
  "hsl": {
    "h": 49.466,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77257,
    "c": 0.12908,
    "h": 97.2
  },
  "luminance": 0.46366
}

Semantic roles & 50–950 ramp

primary
#CCB549
secondary
#9DA6D4
accent
#63E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB549

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

Preview Lab → · Contrast checker → · Palette generator →

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