#CCC65A#CCC65A

#CCC65A is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.0% C 0.130 H 106.0°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CCC65A
RGBrgb(204, 198, 90)
HSLhsl(57, 53%, 58%)
HSVhsv(57, 56%, 80%)
CMYKcmyk(0%, 2.9%, 55.9%, 20%)
CIE-LABlab(78.44, -11.85, 53.85)
CIE-LCHlch(78.44, 55.14, 102.41°)
OKLaboklab(81.01% -0.0359 0.1251)
OKLCHoklch(81.01% 0.13 106)
XYZxyz(46.9428, 53.9652, 17.6144)
Luminance0.5396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC65A #5A60CC
analogous
#CC8D5A #CCC65A #99CC5A
triadic
#CCC65A #5ACCC6 #C65ACC
tetradic
#CCC65A #5ACC8D #5A60CC #CC5A99
square
#CCC65A #5ACC8D #5A60CC #CC5A99
split-complementary
#CCC65A #5A99CC #8D5ACC
monochromatic
#837E29 #B2AB37 #CCC65A #DAD689 #E9E6B7

Accessibility & contrast

On white

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

On black

11.79
#CCC65A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC65A
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC65A#FFFFFF#000000##000000
##CCC65A1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4F
Deuteranopia (green-blind)
#D8C460
Tritanopia (blue-blind)
#D9BAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc65a;
/* rgb */ color: rgb(204, 198, 90);
/* oklch */ color: oklch(81.0% 0.130 106.0);
Tailwind
colors: {
  custom: {
    50: '#ded78c',
    500: '#ccc65a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc65a;
$custom-light: #ded78c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc65a",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 90
  },
  "hsl": {
    "h": 56.842,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81005,
    "c": 0.13014,
    "h": 106
  },
  "luminance": 0.53964
}

Semantic roles & 50–950 ramp

primary
#CCC65A
secondary
#40448A
accent
#53DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC65A

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

Preview Lab → · Contrast checker → · Palette generator →

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