#CCC65E#CCC65E

#CCC65E is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.126 H 105.9°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CCC65E
RGBrgb(204, 198, 94)
HSLhsl(57, 52%, 58%)
HSVhsv(57, 54%, 80%)
CMYKcmyk(0%, 2.9%, 53.9%, 20%)
CIE-LABlab(78.48, -11.53, 52.06)
CIE-LCHlch(78.48, 53.32, 102.49°)
OKLaboklab(81.05% -0.0346 0.1217)
OKLCHoklch(81.05% 0.126 105.9)
XYZxyz(47.1177, 54.0351, 18.5353)
Luminance0.5403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC65E #5E64CC
analogous
#CC8F5E #CCC65E #9BCC5E
triadic
#CCC65E #5ECCC6 #C65ECC
tetradic
#CCC65E #5ECC8F #5E64CC #CC5E9B
square
#CCC65E #5ECC8F #5E64CC #CC5E9B
split-complementary
#CCC65E #5E9BCC #8F5ECC
monochromatic
#85802A #B4AD39 #CCC65E #DBD68C #E9E7BB

Accessibility & contrast

On white

1.78
#CCC65E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#CCC65E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC65E
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC65E#FFFFFF#000000##000000
##CCC65E1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C054
Deuteranopia (green-blind)
#D7C463
Tritanopia (blue-blind)
#D9BBAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc65e;
/* rgb */ color: rgb(204, 198, 94);
/* oklch */ color: oklch(81.1% 0.126 105.9);
Tailwind
colors: {
  custom: {
    50: '#ded78f',
    500: '#ccc65e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc65e;
$custom-light: #ded78f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc65e",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 94
  },
  "hsl": {
    "h": 56.727,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81051,
    "c": 0.12648,
    "h": 105.9
  },
  "luminance": 0.54034
}

Semantic roles & 50–950 ramp

primary
#CCC65E
secondary
#42468D
accent
#54DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC65E

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

Preview Lab → · Contrast checker → · Palette generator →

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