#CCC65F#CCC65F

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

Color values

HEX#CCC65F
RGBrgb(204, 198, 95)
HSLhsl(57, 52%, 59%)
HSVhsv(57, 53%, 80%)
CMYKcmyk(0%, 2.9%, 53.4%, 20%)
CIE-LABlab(78.49, -11.45, 51.60)
CIE-LCHlch(78.49, 52.86, 102.51°)
OKLaboklab(81.06% -0.0343 0.1208)
OKLCHoklch(81.06% 0.126 105.8)
XYZxyz(47.1628, 54.0532, 18.7732)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC65F #5F65CC
analogous
#CC8F5F #CCC65F #9BCC5F
triadic
#CCC65F #5FCCC6 #C65FCC
tetradic
#CCC65F #5FCC8F #5F65CC #CC5F9B
square
#CCC65F #5FCC8F #5F65CC #CC5F9B
split-complementary
#CCC65F #5F9BCC #8F5FCC
monochromatic
#86812B #B4AE39 #CCC65F #DBD78D #EAE7BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC65F#FFFFFF#000000##000000
##CCC65F1.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)
#D5C055
Deuteranopia (green-blind)
#D7C464
Tritanopia (blue-blind)
#D9BBAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc65f;
/* rgb */ color: rgb(204, 198, 95);
/* oklch */ color: oklch(81.1% 0.126 105.8);
Tailwind
colors: {
  custom: {
    50: '#ded78f',
    500: '#ccc65f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc65f;
$custom-light: #ded78f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc65f",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 95
  },
  "hsl": {
    "h": 56.697,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81063,
    "c": 0.12555,
    "h": 105.8
  },
  "luminance": 0.54052
}

Semantic roles & 50–950 ramp

primary
#CCC65F
secondary
#42468D
accent
#55DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC65F

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

Preview Lab → · Contrast checker → · Palette generator →

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