#CCB44C#CCB44C

#CCB44C is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.1% C 0.126 H 96.3°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#CCB44C
RGBrgb(204, 180, 76)
HSLhsl(49, 56%, 55%)
HSVhsv(49, 63%, 80%)
CMYKcmyk(0%, 11.8%, 62.7%, 20%)
CIE-LABlab(73.55, -3.55, 54.72)
CIE-LCHlch(73.55, 54.84, 93.71°)
OKLaboklab(77.08% -0.0138 0.1252)
OKLCHoklch(77.08% 0.126 96.3)
XYZxyz(42.5295, 46.0037, 13.4755)
Luminance0.4600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB44C #4C64CC
analogous
#CC744C #CCB44C #A4CC4C
triadic
#CCB44C #4CCCB4 #B44CCC
tetradic
#CCB44C #4CCC74 #4C64CC #CC4CA4
square
#CCB44C #4CCC74 #4C64CC #CC4CA4
split-complementary
#CCB44C #4CA4CC #744CCC
monochromatic
#7B6A23 #AA9331 #CCB44C #DAC87C #E7DCAB

Accessibility & contrast

On white

2.06
#CCB44C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#CCB44C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB44C
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB44C#FFFFFF#000000##000000
##CCB44C1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B040
Deuteranopia (green-blind)
#CBB851
Tritanopia (blue-blind)
#DBA79E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb44c;
/* rgb */ color: rgb(204, 180, 76);
/* oklch */ color: oklch(77.1% 0.126 96.3);
Tailwind
colors: {
  custom: {
    50: '#dfca82',
    500: '#ccb44c',
    950: '#000000',
  },
}
SCSS
$custom: #ccb44c;
$custom-light: #dfca82;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb44c",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 76
  },
  "hsl": {
    "h": 48.75,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77079,
    "c": 0.12591,
    "h": 96.3
  },
  "luminance": 0.46002
}

Semantic roles & 50–950 ramp

primary
#CCB44C
secondary
#9FA9D5
accent
#65DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB44C

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

Preview Lab → · Contrast checker → · Palette generator →

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