#CED787#CED787

#CED787 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.4% C 0.103 H 113.8°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#CED787
RGBrgb(206, 215, 135)
HSLhsl(67, 50%, 69%)
HSVhsv(67, 37%, 84%)
CMYKcmyk(4.2%, 0%, 37.2%, 15.7%)
CIE-LABlab(83.69, -15.26, 38.47)
CIE-LCHlch(83.69, 41.39, 111.63°)
OKLaboklab(85.4% -0.0417 0.0943)
OKLCHoklch(85.4% 0.103 113.8)
XYZxyz(54.1276, 63.4726, 32.3170)
Luminance0.6347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED787 #9087D7
analogous
#D7B887 #CED787 #A6D787
triadic
#CED787 #87CED7 #D787CE
tetradic
#CED787 #87D7B8 #9087D7 #D787A6
square
#CED787 #87D7B8 #9087D7 #D787A6
split-complementary
#CED787 #87A6D7 #B887D7
monochromatic
#9EAB39 #BBC859 #CED787 #E1E6B5 #F3F6E3

Accessibility & contrast

On white

1.53
#CED787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#CED787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED787
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED787#FFFFFF#000000##000000
##CED7871.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D081
Deuteranopia (green-blind)
#E1D28B
Tritanopia (blue-blind)
#D7CEC3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ced787;
/* rgb */ color: rgb(206, 215, 135);
/* oklch */ color: oklch(85.4% 0.103 113.8);
Tailwind
colors: {
  custom: {
    50: '#dee3ab',
    500: '#ced787',
    950: '#000000',
  },
}
SCSS
$custom: #ced787;
$custom-light: #dee3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ced787",
  "rgb": {
    "r": 206,
    "g": 215,
    "b": 135
  },
  "hsl": {
    "h": 66.75,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.85404,
    "c": 0.10314,
    "h": 113.8
  },
  "luminance": 0.63472
}

Semantic roles & 50–950 ramp

primary
#CED787
secondary
#5F55AD
accent
#28BD39
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CED787

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

Preview Lab → · Contrast checker → · Palette generator →

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