#CCC440#CCC440

#CCC440 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.3% C 0.149 H 105.9°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#CCC440
RGBrgb(204, 196, 64)
HSLhsl(57, 58%, 53%)
HSVhsv(57, 69%, 80%)
CMYKcmyk(0%, 3.9%, 68.6%, 20%)
CIE-LABlab(77.69, -12.51, 64.03)
CIE-LCHlch(77.69, 65.24, 101.05°)
OKLaboklab(80.34% -0.0406 0.1429)
OKLCHoklch(80.34% 0.149 105.9)
XYZxyz(45.5689, 52.6890, 12.6191)
Luminance0.5269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC440 #4048CC
analogous
#CC7E40 #CCC440 #8ECC40
triadic
#CCC440 #40CCC4 #C440CC
tetradic
#CCC440 #40CC7E #4048CC #CC408E
square
#CCC440 #40CC7E #4048CC #CC408E
split-complementary
#CCC440 #408ECC #7E40CC
monochromatic
#736E1F #A39C2C #CCC440 #D9D370 #E6E2A1

Accessibility & contrast

On white

1.82
#CCC440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#CCC440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC440
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC440#FFFFFF#000000##000000
##CCC4401.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2C
Deuteranopia (green-blind)
#D8C349
Tritanopia (blue-blind)
#DBB7AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc440;
/* rgb */ color: rgb(204, 196, 64);
/* oklch */ color: oklch(80.3% 0.149 105.9);
Tailwind
colors: {
  custom: {
    50: '#dfd57d',
    500: '#ccc440',
    950: '#000000',
  },
}
SCSS
$custom: #ccc440;
$custom-light: #dfd57d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc440",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 64
  },
  "hsl": {
    "h": 56.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80339,
    "c": 0.1486,
    "h": 105.9
  },
  "luminance": 0.52687
}

Semantic roles & 50–950 ramp

primary
#CCC440
secondary
#34397C
accent
#50E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC440

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

Preview Lab → · Contrast checker → · Palette generator →

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