#CCC750#CCC750

#CCC750 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.140 H 106.9°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CCC750
RGBrgb(204, 199, 80)
HSLhsl(58, 55%, 56%)
HSVhsv(58, 61%, 80%)
CMYKcmyk(0%, 2.5%, 60.8%, 20%)
CIE-LABlab(78.62, -13.07, 58.48)
CIE-LCHlch(78.62, 59.93, 102.60°)
OKLaboklab(81.11% -0.0405 0.1337)
OKLCHoklch(81.11% 0.14 106.9)
XYZxyz(46.7748, 54.2649, 15.5981)
Luminance0.5426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC750 #5055CC
analogous
#CC8950 #CCC750 #93CC50
triadic
#CCC750 #50CCC7 #C750CC
tetradic
#CCC750 #50CC89 #5055CC #CC5093
square
#CCC750 #50CC89 #5055CC #CC5093
split-complementary
#CCC750 #5093CC #8950CC
monochromatic
#7D7A24 #ADA832 #CCC750 #DAD67F #E8E5AF

Accessibility & contrast

On white

1.77
#CCC750 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CCC750 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC750
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC750#FFFFFF#000000##000000
##CCC7501.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C042
Deuteranopia (green-blind)
#D9C557
Tritanopia (blue-blind)
#DABBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc750;
/* rgb */ color: rgb(204, 199, 80);
/* oklch */ color: oklch(81.1% 0.140 106.9);
Tailwind
colors: {
  custom: {
    50: '#ded786',
    500: '#ccc750',
    950: '#000000',
  },
}
SCSS
$custom: #ccc750;
$custom-light: #ded786;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc750",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 80
  },
  "hsl": {
    "h": 57.581,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81114,
    "c": 0.13969,
    "h": 106.9
  },
  "luminance": 0.54263
}

Semantic roles & 50–950 ramp

primary
#CCC750
secondary
#3B3E85
accent
#50DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC750

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

Preview Lab → · Contrast checker → · Palette generator →

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