#CCC698#CCC698

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

Color values

HEX#CCC698
RGBrgb(204, 198, 152)
HSLhsl(53, 34%, 70%)
HSVhsv(53, 25%, 80%)
CMYKcmyk(0%, 2.9%, 25.5%, 20%)
CIE-LABlab(79.32, -5.21, 23.87)
CIE-LCHlch(79.32, 24.43, 102.32°)
OKLaboklab(81.99% -0.0122 0.0604)
OKLCHoklch(81.99% 0.062 101.4)
XYZxyz(50.7635, 55.4935, 37.7368)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC698 #989ECC
analogous
#CCAC98 #CCC698 #B8CC98
triadic
#CCC698 #98CCC6 #C698CC
tetradic
#CCC698 #98CCAC #989ECC #CC98B8
square
#CCC698 #98CCAC #989ECC #CC98B8
split-complementary
#CCC698 #98B8CC #AC98CC
monochromatic
#9C934D #B8AF6F #CCC698 #E0DDC1 #F5F3EA

Accessibility & contrast

On white

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

On black

12.10
#CCC698 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC698
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC698#FFFFFF#000000##000000
##CCC6981.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC395
Deuteranopia (green-blind)
#D1C69A
Tritanopia (blue-blind)
#D4C0BA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc698;
/* rgb */ color: rgb(204, 198, 152);
/* oklch */ color: oklch(82.0% 0.062 101.4);
Tailwind
colors: {
  custom: {
    50: '#dcd7b6',
    500: '#ccc698',
    950: '#000000',
  },
}
SCSS
$custom: #ccc698;
$custom-light: #dcd7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc698",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 152
  },
  "hsl": {
    "h": 53.077,
    "s": 33.766,
    "l": 69.804
  },
  "oklch": {
    "l": 0.81994,
    "c": 0.06162,
    "h": 101.4
  },
  "luminance": 0.55493
}

Semantic roles & 50–950 ramp

primary
#CCC698
secondary
#676EA1
accent
#46AD39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCC698

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

Preview Lab → · Contrast checker → · Palette generator →

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