#CCC865#CCC865

#CCC865 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.122 H 106.7°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CCC865
RGBrgb(204, 200, 101)
HSLhsl(58, 50%, 60%)
HSVhsv(58, 50%, 80%)
CMYKcmyk(0%, 2%, 50.5%, 20%)
CIE-LABlab(79.09, -11.96, 49.47)
CIE-LCHlch(79.09, 50.90, 103.59°)
OKLaboklab(81.56% -0.0351 0.1168)
OKLCHoklch(81.56% 0.122 106.7)
XYZxyz(47.9063, 55.0868, 20.4187)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC865 #6569CC
analogous
#CC9565 #CCC865 #9DCC65
triadic
#CCC865 #65CCC8 #C865CC
tetradic
#CCC865 #65CC95 #6569CC #CC659D
square
#CCC865 #65CC95 #6569CC #CC659D
split-complementary
#CCC865 #659DCC #9565CC
monochromatic
#89862D #B7B23D #CCC865 #DBD893 #EAE9C1

Accessibility & contrast

On white

1.75
#CCC865 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CCC865 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC865
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC865#FFFFFF#000000##000000
##CCC8651.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C15C
Deuteranopia (green-blind)
#D8C66A
Tritanopia (blue-blind)
#D9BDB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc865;
/* rgb */ color: rgb(204, 200, 101);
/* oklch */ color: oklch(81.6% 0.122 106.7);
Tailwind
colors: {
  custom: {
    50: '#ded893',
    500: '#ccc865',
    950: '#000000',
  },
}
SCSS
$custom: #ccc865;
$custom-light: #ded893;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc865",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 101
  },
  "hsl": {
    "h": 57.67,
    "s": 50.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8156,
    "c": 0.12191,
    "h": 106.7
  },
  "luminance": 0.55086
}

Semantic roles & 50–950 ramp

primary
#CCC865
secondary
#454890
accent
#53DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC865

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

Preview Lab → · Contrast checker → · Palette generator →

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