#CCB546#CCB546

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

Color values

HEX#CCB546
RGBrgb(204, 181, 70)
HSLhsl(50, 57%, 54%)
HSVhsv(50, 66%, 80%)
CMYKcmyk(0%, 11.3%, 65.7%, 20%)
CIE-LABlab(73.76, -4.45, 57.57)
CIE-LCHlch(73.76, 57.74, 94.42°)
OKLaboklab(77.23% -0.0171 0.1303)
OKLCHoklch(77.23% 0.131 97.5)
XYZxyz(42.5331, 46.3294, 12.4953)
Luminance0.4633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB546 #465DCC
analogous
#CC7246 #CCB546 #A0CC46
triadic
#CCB546 #46CCB5 #B546CC
tetradic
#CCB546 #46CC72 #465DCC #CC46A0
square
#CCB546 #46CC72 #465DCC #CC46A0
split-complementary
#CCB546 #46A0CC #7246CC
monochromatic
#776821 #A7922E #CCB546 #D9C876 #E6DBA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB546#FFFFFF#000000##000000
##CCB5461.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)
#C6B138
Deuteranopia (green-blind)
#CCB94C
Tritanopia (blue-blind)
#DBA89E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb546;
/* rgb */ color: rgb(204, 181, 70);
/* oklch */ color: oklch(77.2% 0.131 97.5);
Tailwind
colors: {
  custom: {
    50: '#dfca7f',
    500: '#ccb546',
    950: '#000000',
  },
}
SCSS
$custom: #ccb546;
$custom-light: #dfca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb546",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 70
  },
  "hsl": {
    "h": 49.701,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7723,
    "c": 0.13138,
    "h": 97.5
  },
  "luminance": 0.46327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB546

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

Preview Lab → · Contrast checker → · Palette generator →

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