#CED871#CED871

#CED871 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.3% C 0.128 H 113.7°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#CED871
RGBrgb(206, 216, 113)
HSLhsl(66, 57%, 65%)
HSVhsv(66, 48%, 85%)
CMYKcmyk(4.6%, 0%, 47.7%, 15.3%)
CIE-LABlab(83.67, -18.08, 49.26)
CIE-LCHlch(83.67, 52.47, 110.15°)
OKLaboklab(85.29% -0.0514 0.1173)
OKLCHoklch(85.29% 0.128 113.7)
XYZxyz(52.9909, 63.4266, 25.0706)
Luminance0.6343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED871 #7B71D8
analogous
#D8AF71 #CED871 #9BD871
triadic
#CED871 #71CED8 #D871CE
tetradic
#CED871 #71D8AF #7B71D8 #D8719B
square
#CED871 #71D8AF #7B71D8 #D8719B
split-complementary
#CED871 #719BD8 #AF71D8
monochromatic
#97A22D #BDCB41 #CED871 #DFE5A1 #EFF2D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CED871#FFFFFF#000000##000000
##CED8711.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)
#E5CF68
Deuteranopia (green-blind)
#E5D276
Tritanopia (blue-blind)
#D9CEC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ced871;
/* rgb */ color: rgb(206, 216, 113);
/* oklch */ color: oklch(85.3% 0.128 113.7);
Tailwind
colors: {
  custom: {
    50: '#dfe49c',
    500: '#ced871',
    950: '#000000',
  },
}
SCSS
$custom: #ced871;
$custom-light: #dfe49c;
$custom-dark: #000000;
JSON
{
  "hex": "#ced871",
  "rgb": {
    "r": 206,
    "g": 216,
    "b": 113
  },
  "hsl": {
    "h": 65.825,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8529,
    "c": 0.12805,
    "h": 113.7
  },
  "luminance": 0.63426
}

Semantic roles & 50–950 ramp

primary
#CED871
secondary
#5147A6
accent
#21C431
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CED871

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

Preview Lab → · Contrast checker → · Palette generator →

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