#CCC765#CCC765

#CCC765 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.3% C 0.121 H 106.2°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#CCC765
RGBrgb(204, 199, 101)
HSLhsl(57, 50%, 60%)
HSVhsv(57, 50%, 80%)
CMYKcmyk(0%, 2.5%, 50.5%, 20%)
CIE-LABlab(78.82, -11.45, 49.16)
CIE-LCHlch(78.82, 50.47, 103.12°)
OKLaboklab(81.35% -0.0336 0.1161)
OKLCHoklch(81.35% 0.121 106.2)
XYZxyz(47.6755, 54.6251, 20.3417)
Luminance0.5462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC765 #656ACC
analogous
#CC9365 #CCC765 #9ECC65
triadic
#CCC765 #65CCC7 #C765CC
tetradic
#CCC765 #65CC93 #656ACC #CC659E
square
#CCC765 #65CC93 #656ACC #CC659E
split-complementary
#CCC765 #659ECC #9365CC
monochromatic
#89852D #B7B13D #CCC765 #DBD893 #EAE8C1

Accessibility & contrast

On white

1.76
#CCC765 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#CCC765 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC765
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC765#FFFFFF#000000##000000
##CCC7651.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C15C
Deuteranopia (green-blind)
#D8C56A
Tritanopia (blue-blind)
#D9BCB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc765;
/* rgb */ color: rgb(204, 199, 101);
/* oklch */ color: oklch(81.3% 0.121 106.2);
Tailwind
colors: {
  custom: {
    50: '#ded793',
    500: '#ccc765',
    950: '#000000',
  },
}
SCSS
$custom: #ccc765;
$custom-light: #ded793;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc765",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 101
  },
  "hsl": {
    "h": 57.087,
    "s": 50.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81348,
    "c": 0.12085,
    "h": 106.2
  },
  "luminance": 0.54624
}

Semantic roles & 50–950 ramp

primary
#CCC765
secondary
#454990
accent
#55DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC765

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

Preview Lab → · Contrast checker → · Palette generator →

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