#CCB649#CCB649

#CCB649 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.5% C 0.130 H 97.8°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#CCB649
RGBrgb(204, 182, 73)
HSLhsl(50, 56%, 54%)
HSVhsv(50, 64%, 80%)
CMYKcmyk(0%, 10.8%, 64.2%, 20%)
CIE-LABlab(74.05, -4.79, 56.58)
CIE-LCHlch(74.05, 56.78, 94.84°)
OKLaboklab(77.46% -0.0177 0.1286)
OKLCHoklch(77.46% 0.13 97.8)
XYZxyz(42.8343, 46.7763, 13.0745)
Luminance0.4677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB649 #495FCC
analogous
#CC7549 #CCB649 #A0CC49
triadic
#CCB649 #49CCB6 #B649CC
tetradic
#CCB649 #49CC75 #495FCC #CC49A0
square
#CCB649 #49CC75 #495FCC #CC49A0
split-complementary
#CCB649 #49A0CC #7549CC
monochromatic
#796A22 #A9942F #CCB649 #D9C979 #E7DCA9

Accessibility & contrast

On white

2.03
#CCB649 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#CCB649 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB649
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB649#FFFFFF#000000##000000
##CCB6491.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23C
Deuteranopia (green-blind)
#CDB94F
Tritanopia (blue-blind)
#DBA99F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb649;
/* rgb */ color: rgb(204, 182, 73);
/* oklch */ color: oklch(77.5% 0.130 97.8);
Tailwind
colors: {
  custom: {
    50: '#dfcb81',
    500: '#ccb649',
    950: '#000000',
  },
}
SCSS
$custom: #ccb649;
$custom-light: #dfcb81;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb649",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 73
  },
  "hsl": {
    "h": 49.924,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77465,
    "c": 0.12986,
    "h": 97.8
  },
  "luminance": 0.46774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB649

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

Preview Lab → · Contrast checker → · Palette generator →

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