#CCC065#CCC065

#CCC065 is a light, moderate yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.114 H 101.9°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CCC065
RGBrgb(204, 192, 101)
HSLhsl(53, 50%, 60%)
HSVhsv(53, 50%, 80%)
CMYKcmyk(0%, 5.9%, 50.5%, 20%)
CIE-LABlab(76.97, -7.87, 46.95)
CIE-LCHlch(76.97, 47.60, 99.52°)
OKLaboklab(79.87% -0.0233 0.1112)
OKLCHoklch(79.87% 0.114 101.9)
XYZxyz(46.1018, 51.4778, 19.8171)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC065 #6571CC
analogous
#CC8D65 #CCC065 #A4CC65
triadic
#CCC065 #65CCC0 #C065CC
tetradic
#CCC065 #65CC8D #6571CC #CC65A4
square
#CCC065 #65CC8D #6571CC #CC65A4
split-complementary
#CCC065 #65A4CC #8D65CC
monochromatic
#897E2D #B7A93D #CCC065 #DBD393 #EAE6C1

Accessibility & contrast

On white

1.86
#CCC065 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#CCC065 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC065
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC065#FFFFFF#000000##000000
##CCC0651.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBB5D
Deuteranopia (green-blind)
#D2C069
Tritanopia (blue-blind)
#D9B5AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc065;
/* rgb */ color: rgb(204, 192, 101);
/* oklch */ color: oklch(79.9% 0.114 101.9);
Tailwind
colors: {
  custom: {
    50: '#ddd293',
    500: '#ccc065',
    950: '#000000',
  },
}
SCSS
$custom: #ccc065;
$custom-light: #ddd293;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc065",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 101
  },
  "hsl": {
    "h": 53.01,
    "s": 50.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.79873,
    "c": 0.11365,
    "h": 101.9
  },
  "luminance": 0.51476
}

Semantic roles & 50–950 ramp

primary
#CCC065
secondary
#454E90
accent
#5EDA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC065

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

Preview Lab → · Contrast checker → · Palette generator →

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