#CCC697#CCC697

#CCC697 is a light, moderate yellow. Relative luminance 0.555; OKLCH L 82.0% C 0.063 H 101.6°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#CCC697
RGBrgb(204, 198, 151)
HSLhsl(53, 34%, 70%)
HSVhsv(53, 26%, 80%)
CMYKcmyk(0%, 2.9%, 26%, 20%)
CIE-LABlab(79.31, -5.35, 24.37)
CIE-LCHlch(79.31, 24.95, 102.38°)
OKLaboklab(81.97% -0.0126 0.0616)
OKLCHoklch(81.97% 0.063 101.6)
XYZxyz(50.6820, 55.4608, 37.3073)
Luminance0.5546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC697 #979DCC
analogous
#CCAC97 #CCC697 #B8CC97
triadic
#CCC697 #97CCC6 #C697CC
tetradic
#CCC697 #97CCAC #979DCC #CC97B8
square
#CCC697 #97CCAC #979DCC #CC97B8
split-complementary
#CCC697 #97B8CC #AC97CC
monochromatic
#9C934D #B8AF6E #CCC697 #E0DDC0 #F4F3E9

Accessibility & contrast

On white

1.74
#CCC697 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#CCC697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC697
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC697#FFFFFF#000000##000000
##CCC6971.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC394
Deuteranopia (green-blind)
#D1C699
Tritanopia (blue-blind)
#D4BFB9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc697;
/* rgb */ color: rgb(204, 198, 151);
/* oklch */ color: oklch(82.0% 0.063 101.6);
Tailwind
colors: {
  custom: {
    50: '#dcd7b6',
    500: '#ccc697',
    950: '#000000',
  },
}
SCSS
$custom: #ccc697;
$custom-light: #dcd7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc697",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 151
  },
  "hsl": {
    "h": 53.208,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.81973,
    "c": 0.06288,
    "h": 101.6
  },
  "luminance": 0.5546
}

Semantic roles & 50–950 ramp

primary
#CCC697
secondary
#666DA1
accent
#46AD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCC697

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

Preview Lab → · Contrast checker → · Palette generator →

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