#CDCE71#CDCE71

#CDCE71 is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.116 H 109.2°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#CDCE71
RGBrgb(205, 206, 113)
HSLhsl(61, 49%, 63%)
HSVhsv(61, 45%, 81%)
CMYKcmyk(0.5%, 0%, 45.1%, 19.2%)
CIE-LABlab(80.91, -13.49, 45.90)
CIE-LCHlch(80.91, 47.84, 106.38°)
OKLaboklab(83.08% -0.0383 0.1099)
OKLCHoklch(83.08% 0.116 109.2)
XYZxyz(50.2297, 58.3151, 24.2295)
Luminance0.5831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE71 #7271CE
analogous
#CEA071 #CDCE71 #9FCE71
triadic
#CDCE71 #71CDCE #CE71CD
tetradic
#CDCE71 #71CEA0 #7271CE #CE719F
square
#CDCE71 #71CEA0 #7271CE #CE719F
split-complementary
#CDCE71 #719FCE #A071CE
monochromatic
#919232 #BDBE44 #CDCE71 #DDDE9E #EDEDCC

Accessibility & contrast

On white

1.66
#CDCE71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#CDCE71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE71
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE71#FFFFFF#000000##000000
##CDCE711.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC769
Deuteranopia (green-blind)
#DCCA75
Tritanopia (blue-blind)
#D8C4B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdce71;
/* rgb */ color: rgb(205, 206, 113);
/* oklch */ color: oklch(83.1% 0.116 109.2);
Tailwind
colors: {
  custom: {
    50: '#dedc9c',
    500: '#cdce71',
    950: '#000000',
  },
}
SCSS
$custom: #cdce71;
$custom-light: #dedc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce71",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 113
  },
  "hsl": {
    "h": 60.645,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83076,
    "c": 0.11635,
    "h": 109.2
  },
  "luminance": 0.58314
}

Semantic roles & 50–950 ramp

primary
#CDCE71
secondary
#4C4B98
accent
#2ABC2B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCE71

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

Preview Lab → · Contrast checker → · Palette generator →

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