#CCD783#CCD783

#CCD783 is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.2% C 0.108 H 114.8°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#CCD783
RGBrgb(204, 215, 131)
HSLhsl(68, 51%, 68%)
HSVhsv(68, 39%, 84%)
CMYKcmyk(5.1%, 0%, 39.1%, 15.7%)
CIE-LABlab(83.48, -16.49, 40.18)
CIE-LCHlch(83.48, 43.44, 112.31°)
OKLaboklab(85.18% -0.0454 0.0981)
OKLCHoklch(85.18% 0.108 114.8)
XYZxyz(53.2994, 63.0775, 30.8357)
Luminance0.6308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD783 #8E83D7
analogous
#D7B883 #CCD783 #A2D783
triadic
#CCD783 #83CCD7 #D783CC
tetradic
#CCD783 #83D7B8 #8E83D7 #D783A2
square
#CCD783 #83D7B8 #8E83D7 #D783A2
split-complementary
#CCD783 #83A2D7 #B883D7
monochromatic
#9AA937 #B9C855 #CCD783 #DFE6B1 #F2F5E0

Accessibility & contrast

On white

1.54
#CCD783 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#CCD783 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD783
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD783#FFFFFF#000000##000000
##CCD7831.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF7D
Deuteranopia (green-blind)
#E1D187
Tritanopia (blue-blind)
#D5CEC2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd783;
/* rgb */ color: rgb(204, 215, 131);
/* oklch */ color: oklch(85.2% 0.108 114.8);
Tailwind
colors: {
  custom: {
    50: '#dde3a8',
    500: '#ccd783',
    950: '#000000',
  },
}
SCSS
$custom: #ccd783;
$custom-light: #dde3a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd783",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 131
  },
  "hsl": {
    "h": 67.857,
    "s": 51.22,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85183,
    "c": 0.10808,
    "h": 114.8
  },
  "luminance": 0.63077
}

Semantic roles & 50–950 ramp

primary
#CCD783
secondary
#5D52AD
accent
#27BF3B
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#151510
muted
#848480

Preview Lab

Preview with #CCD783

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

Preview Lab → · Contrast checker → · Palette generator →

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