#CED171#CED171

#CED171 is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 83.8% C 0.120 H 110.3°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#CED171
RGBrgb(206, 209, 113)
HSLhsl(62, 51%, 63%)
HSVhsv(62, 46%, 82%)
CMYKcmyk(1.4%, 0%, 45.9%, 18%)
CIE-LABlab(81.79, -14.59, 46.99)
CIE-LCHlch(81.79, 49.20, 107.26°)
OKLaboklab(83.8% -0.0415 0.1123)
OKLCHoklch(83.8% 0.12 110.3)
XYZxyz(51.2356, 59.9160, 24.4855)
Luminance0.5991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED171 #7471D1
analogous
#D1A471 #CED171 #9ED171
triadic
#CED171 #71CED1 #D171CE
tetradic
#CED171 #71D1A4 #7471D1 #D1719E
square
#CED171 #71D1A4 #7471D1 #D1719E
split-complementary
#CED171 #719ED1 #A471D1
monochromatic
#949731 #BEC243 #CED171 #DEE09F #EEEFCD

Accessibility & contrast

On white

1.62
#CED171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#CED171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED171
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED171#FFFFFF#000000##000000
##CED1711.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA69
Deuteranopia (green-blind)
#DFCD76
Tritanopia (blue-blind)
#D9C7BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ced171;
/* rgb */ color: rgb(206, 209, 113);
/* oklch */ color: oklch(83.8% 0.120 110.3);
Tailwind
colors: {
  custom: {
    50: '#dfdf9c',
    500: '#ced171',
    950: '#000000',
  },
}
SCSS
$custom: #ced171;
$custom-light: #dfdf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ced171",
  "rgb": {
    "r": 206,
    "g": 209,
    "b": 113
  },
  "hsl": {
    "h": 61.875,
    "s": 51.064,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83795,
    "c": 0.1197,
    "h": 110.3
  },
  "luminance": 0.59915
}

Semantic roles & 50–950 ramp

primary
#CED171
secondary
#4D4A9C
accent
#27BE2C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CED171

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

Preview Lab → · Contrast checker → · Palette generator →

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