#CCC593#CCC593

#CCC593 is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.7% C 0.067 H 101.0°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CCC593
RGBrgb(204, 197, 147)
HSLhsl(53, 36%, 69%)
HSVhsv(53, 28%, 80%)
CMYKcmyk(0%, 3.4%, 27.9%, 20%)
CIE-LABlab(78.97, -5.37, 26.03)
CIE-LCHlch(78.97, 26.57, 101.65°)
OKLaboklab(81.68% -0.0128 0.0655)
OKLCHoklch(81.68% 0.067 101)
XYZxyz(50.1348, 54.8775, 35.5495)
Luminance0.5488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC593 #939ACC
analogous
#CCA993 #CCC593 #B7CC93
triadic
#CCC593 #93CCC5 #C593CC
tetradic
#CCC593 #93CCA9 #939ACC #CC93B7
square
#CCC593 #93CCA9 #939ACC #CC93B7
split-complementary
#CCC593 #93B7CC #A993CC
monochromatic
#9B9149 #B8AF69 #CCC593 #E0DBBD #F3F2E6

Accessibility & contrast

On white

1.75
#CCC593 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#CCC593 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC593
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC593#FFFFFF#000000##000000
##CCC5931.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC290
Deuteranopia (green-blind)
#D1C595
Tritanopia (blue-blind)
#D5BEB8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc593;
/* rgb */ color: rgb(204, 197, 147);
/* oklch */ color: oklch(81.7% 0.067 101.0);
Tailwind
colors: {
  custom: {
    50: '#dcd6b3',
    500: '#ccc593',
    950: '#000000',
  },
}
SCSS
$custom: #ccc593;
$custom-light: #dcd6b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc593",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 147
  },
  "hsl": {
    "h": 52.632,
    "s": 35.849,
    "l": 68.824
  },
  "oklch": {
    "l": 0.81683,
    "c": 0.06674,
    "h": 101
  },
  "luminance": 0.54876
}

Semantic roles & 50–950 ramp

primary
#CCC593
secondary
#626AA1
accent
#46AF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCC593

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

Preview Lab → · Contrast checker → · Palette generator →

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