#CCC260#CCC260

#CCC260 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.121 H 103.5°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#CCC260
RGBrgb(204, 194, 96)
HSLhsl(54, 51%, 59%)
HSVhsv(54, 53%, 80%)
CMYKcmyk(0%, 4.9%, 52.9%, 20%)
CIE-LABlab(77.44, -9.33, 49.91)
CIE-LCHlch(77.44, 50.77, 100.59°)
OKLaboklab(80.23% -0.0281 0.1172)
OKLCHoklch(80.23% 0.121 103.5)
XYZxyz(46.3063, 52.2670, 18.7134)
Luminance0.5226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC260 #606ACC
analogous
#CC8C60 #CCC260 #A0CC60
triadic
#CCC260 #60CCC2 #C260CC
tetradic
#CCC260 #60CC8C #606ACC #CC60A0
square
#CCC260 #60CC8C #606ACC #CC60A0
split-complementary
#CCC260 #60A0CC #8C60CC
monochromatic
#867E2B #B5A93A #CCC260 #DBD48E #EAE6BD

Accessibility & contrast

On white

1.83
#CCC260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#CCC260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC260
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC260#FFFFFF#000000##000000
##CCC2601.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC57
Deuteranopia (green-blind)
#D4C265
Tritanopia (blue-blind)
#D9B7AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc260;
/* rgb */ color: rgb(204, 194, 96);
/* oklch */ color: oklch(80.2% 0.121 103.5);
Tailwind
colors: {
  custom: {
    50: '#ded490',
    500: '#ccc260',
    950: '#000000',
  },
}
SCSS
$custom: #ccc260;
$custom-light: #ded490;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc260",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 96
  },
  "hsl": {
    "h": 54.444,
    "s": 51.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8023,
    "c": 0.12053,
    "h": 103.5
  },
  "luminance": 0.52265
}

Semantic roles & 50–950 ramp

primary
#CCC260
secondary
#434A8E
accent
#5ADB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC260

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

Preview Lab → · Contrast checker → · Palette generator →

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