#CCC394#CCC394

#CCC394 is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.3% C 0.063 H 98.5°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CCC394
RGBrgb(204, 195, 148)
HSLhsl(50, 35%, 69%)
HSVhsv(50, 27%, 80%)
CMYKcmyk(0%, 4.4%, 27.5%, 20%)
CIE-LABlab(78.47, -4.19, 24.81)
CIE-LCHlch(78.47, 25.17, 99.59°)
OKLaboklab(81.29% -0.0094 0.0626)
OKLCHoklch(81.29% 0.063 98.5)
XYZxyz(49.7625, 54.0068, 35.8142)
Luminance0.5401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC394 #949DCC
analogous
#CCA794 #CCC394 #B9CC94
triadic
#CCC394 #94CCC3 #C394CC
tetradic
#CCC394 #94CCA7 #949DCC #CC94B9
square
#CCC394 #94CCA7 #949DCC #CC94B9
split-complementary
#CCC394 #94B9CC #A794CC
monochromatic
#9B8E4A #B8AC6B #CCC394 #E0DABD #F4F1E7

Accessibility & contrast

On white

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

On black

11.80
#CCC394 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC394
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC394#FFFFFF#000000##000000
##CCC3941.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCC091
Deuteranopia (green-blind)
#CFC496
Tritanopia (blue-blind)
#D5BCB6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc394;
/* rgb */ color: rgb(204, 195, 148);
/* oklch */ color: oklch(81.3% 0.063 98.5);
Tailwind
colors: {
  custom: {
    50: '#dcd5b3',
    500: '#ccc394',
    950: '#000000',
  },
}
SCSS
$custom: #ccc394;
$custom-light: #dcd5b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc394",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 148
  },
  "hsl": {
    "h": 50.357,
    "s": 35.443,
    "l": 69.02
  },
  "oklch": {
    "l": 0.8129,
    "c": 0.06332,
    "h": 98.5
  },
  "luminance": 0.54006
}

Semantic roles & 50–950 ramp

primary
#CCC394
secondary
#636DA1
accent
#4AAE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCC394

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

Preview Lab → · Contrast checker → · Palette generator →

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