#CCC993#CCC993

#CCC993 is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.5% C 0.071 H 105.2°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#CCC993
RGBrgb(204, 201, 147)
HSLhsl(57, 36%, 69%)
HSVhsv(57, 28%, 80%)
CMYKcmyk(0%, 1.5%, 27.9%, 20%)
CIE-LABlab(80.02, -7.44, 27.44)
CIE-LCHlch(80.02, 28.43, 105.16°)
OKLaboklab(82.51% -0.0187 0.0689)
OKLCHoklch(82.51% 0.071 105.2)
XYZxyz(51.0551, 56.7181, 35.8563)
Luminance0.5672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC993 #9396CC
analogous
#CCAD93 #CCC993 #B3CC93
triadic
#CCC993 #93CCC9 #C993CC
tetradic
#CCC993 #93CCAD #9396CC #CC93B3
square
#CCC993 #93CCAD #9396CC #CC93B3
split-complementary
#CCC993 #93B3CC #AD93CC
monochromatic
#9B9749 #B8B469 #CCC993 #E0DEBD #F3F3E6

Accessibility & contrast

On white

1.70
#CCC993 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#CCC993 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC993
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC993#FFFFFF#000000##000000
##CCC9931.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C58F
Deuteranopia (green-blind)
#D4C895
Tritanopia (blue-blind)
#D4C2BB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccc993;
/* rgb */ color: rgb(204, 201, 147);
/* oklch */ color: oklch(82.5% 0.071 105.2);
Tailwind
colors: {
  custom: {
    50: '#dcd9b3',
    500: '#ccc993',
    950: '#000000',
  },
}
SCSS
$custom: #ccc993;
$custom-light: #dcd9b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc993",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 147
  },
  "hsl": {
    "h": 56.842,
    "s": 35.849,
    "l": 68.824
  },
  "oklch": {
    "l": 0.82514,
    "c": 0.07139,
    "h": 105.2
  },
  "luminance": 0.56717
}

Semantic roles & 50–950 ramp

primary
#CCC993
secondary
#6265A1
accent
#3DAF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCC993

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

Preview Lab → · Contrast checker → · Palette generator →

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