#CCC783#CCC783

#CCC783 is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.088 H 104.6°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CCC783
RGBrgb(204, 199, 131)
HSLhsl(56, 42%, 66%)
HSVhsv(56, 36%, 80%)
CMYKcmyk(0%, 2.5%, 35.8%, 20%)
CIE-LABlab(79.23, -8.40, 34.71)
CIE-LCHlch(79.23, 35.71, 103.60°)
OKLaboklab(81.8% -0.0222 0.0855)
OKLCHoklch(81.8% 0.088 104.6)
XYZxyz(49.4226, 55.3240, 29.5434)
Luminance0.5532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC783 #8388CC
analogous
#CCA283 #CCC783 #ACCC83
triadic
#CCC783 #83CCC7 #C783CC
tetradic
#CCC783 #83CCA2 #8388CC #CC83AC
square
#CCC783 #83CCA2 #8388CC #CC83AC
split-complementary
#CCC783 #83ACCC #A283CC
monochromatic
#97913E #BAB358 #CCC783 #DEDBAE #F0EEDA

Accessibility & contrast

On white

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

On black

12.06
#CCC783 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC783
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC783#FFFFFF#000000##000000
##CCC7831.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C27E
Deuteranopia (green-blind)
#D4C686
Tritanopia (blue-blind)
#D6BEB6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc783;
/* rgb */ color: rgb(204, 199, 131);
/* oklch */ color: oklch(81.8% 0.088 104.6);
Tailwind
colors: {
  custom: {
    50: '#dcd7a8',
    500: '#ccc783',
    950: '#000000',
  },
}
SCSS
$custom: #ccc783;
$custom-light: #dcd7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc783",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 131
  },
  "hsl": {
    "h": 55.89,
    "s": 41.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.81799,
    "c": 0.08836,
    "h": 104.6
  },
  "luminance": 0.55323
}

Semantic roles & 50–950 ramp

primary
#CCC783
secondary
#565B9D
accent
#3AB531
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC783

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

Preview Lab → · Contrast checker → · Palette generator →

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