#CCC44F#CCC44F

#CCC44F is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.5% C 0.138 H 105.4°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#CCC44F
RGBrgb(204, 196, 79)
HSLhsl(56, 55%, 55%)
HSVhsv(56, 61%, 80%)
CMYKcmyk(0%, 3.9%, 61.3%, 20%)
CIE-LABlab(77.81, -11.62, 58.04)
CIE-LCHlch(77.81, 59.19, 101.32°)
OKLaboklab(80.47% -0.0365 0.1326)
OKLCHoklch(80.47% 0.138 105.4)
XYZxyz(46.0546, 52.8833, 15.1772)
Luminance0.5288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC44F #4F57CC
analogous
#CC854F #CCC44F #95CC4F
triadic
#CCC44F #4FCCC4 #C44FCC
tetradic
#CCC44F #4FCC85 #4F57CC #CC4F95
square
#CCC44F #4FCC85 #4F57CC #CC4F95
split-complementary
#CCC44F #4F95CC #854FCC
monochromatic
#7D7724 #ACA432 #CCC44F #DAD47E #E7E4AE

Accessibility & contrast

On white

1.81
#CCC44F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#CCC44F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC44F
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC44F#FFFFFF#000000##000000
##CCC44F1.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD41
Deuteranopia (green-blind)
#D7C356
Tritanopia (blue-blind)
#DAB8AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc44f;
/* rgb */ color: rgb(204, 196, 79);
/* oklch */ color: oklch(80.5% 0.138 105.4);
Tailwind
colors: {
  custom: {
    50: '#ded585',
    500: '#ccc44f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc44f;
$custom-light: #ded585;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc44f",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 79
  },
  "hsl": {
    "h": 56.16,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80467,
    "c": 0.13753,
    "h": 105.4
  },
  "luminance": 0.52882
}

Semantic roles & 50–950 ramp

primary
#CCC44F
secondary
#3B3F84
accent
#53DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC44F

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

Preview Lab → · Contrast checker → · Palette generator →

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