#CDCE74#CDCE74

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

Color values

HEX#CDCE74
RGBrgb(205, 206, 116)
HSLhsl(61, 48%, 63%)
HSVhsv(61, 44%, 81%)
CMYKcmyk(0.5%, 0%, 43.7%, 19.2%)
CIE-LABlab(80.95, -13.19, 44.47)
CIE-LCHlch(80.95, 46.39, 106.52°)
OKLaboklab(83.12% -0.0372 0.1069)
OKLCHoklch(83.12% 0.113 109.2)
XYZxyz(50.4014, 58.3838, 25.1337)
Luminance0.5838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE74 #7574CE
analogous
#CEA274 #CDCE74 #A0CE74
triadic
#CDCE74 #74CDCE #CE74CD
tetradic
#CDCE74 #74CEA2 #7574CE #CE74A0
square
#CDCE74 #74CEA2 #7574CE #CE74A0
split-complementary
#CDCE74 #74A0CE #A274CE
monochromatic
#939434 #BDBE47 #CDCE74 #DDDEA1 #EEEECE

Accessibility & contrast

On white

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

On black

12.68
#CDCE74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE74
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE74#FFFFFF#000000##000000
##CDCE741.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC76D
Deuteranopia (green-blind)
#DCCB78
Tritanopia (blue-blind)
#D8C4B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdce74;
/* rgb */ color: rgb(205, 206, 116);
/* oklch */ color: oklch(83.1% 0.113 109.2);
Tailwind
colors: {
  custom: {
    50: '#dedc9e',
    500: '#cdce74',
    950: '#000000',
  },
}
SCSS
$custom: #cdce74;
$custom-light: #dedc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce74",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 116
  },
  "hsl": {
    "h": 60.667,
    "s": 47.872,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83119,
    "c": 0.11319,
    "h": 109.2
  },
  "luminance": 0.58383
}

Semantic roles & 50–950 ramp

primary
#CDCE74
secondary
#4D4D9A
accent
#2ABB2C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCE74

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

Preview Lab → · Contrast checker → · Palette generator →

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