#CCC256#CCC256

#CCC256 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.1% C 0.130 H 104.0°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CCC256
RGBrgb(204, 194, 86)
HSLhsl(55, 54%, 57%)
HSVhsv(55, 58%, 80%)
CMYKcmyk(0%, 4.9%, 57.8%, 20%)
CIE-LABlab(77.34, -10.11, 54.43)
CIE-LCHlch(77.34, 55.36, 100.52°)
OKLaboklab(80.12% -0.0314 0.1258)
OKLCHoklch(80.12% 0.13 104)
XYZxyz(45.8749, 52.0944, 16.4410)
Luminance0.5209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC256 #5660CC
analogous
#CC8756 #CCC256 #9BCC56
triadic
#CCC256 #56CCC2 #C256CC
tetradic
#CCC256 #56CC87 #5660CC #CC569B
square
#CCC256 #56CC87 #5660CC #CC569B
split-complementary
#CCC256 #569BCC #8756CC
monochromatic
#817927 #B0A535 #CCC256 #DAD385 #E8E4B4

Accessibility & contrast

On white

1.84
#CCC256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#CCC256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC256
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC256#FFFFFF#000000##000000
##CCC2561.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC4B
Deuteranopia (green-blind)
#D5C15C
Tritanopia (blue-blind)
#DAB6AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc256;
/* rgb */ color: rgb(204, 194, 86);
/* oklch */ color: oklch(80.1% 0.130 104.0);
Tailwind
colors: {
  custom: {
    50: '#ded489',
    500: '#ccc256',
    950: '#000000',
  },
}
SCSS
$custom: #ccc256;
$custom-light: #ded489;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc256",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 54.915,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80115,
    "c": 0.12969,
    "h": 104
  },
  "luminance": 0.52093
}

Semantic roles & 50–950 ramp

primary
#CCC256
secondary
#3E4488
accent
#57DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC256

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

Preview Lab → · Contrast checker → · Palette generator →

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