#CDCE7D#CDCE7D

#CDCE7D is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.103 H 109.1°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#CDCE7D
RGBrgb(205, 206, 125)
HSLhsl(61, 45%, 65%)
HSVhsv(61, 39%, 81%)
CMYKcmyk(0.5%, 0%, 39.3%, 19.2%)
CIE-LABlab(81.07, -12.25, 40.15)
CIE-LCHlch(81.07, 41.97, 106.97°)
OKLaboklab(83.26% -0.0338 0.0977)
OKLCHoklch(83.26% 0.103 109.1)
XYZxyz(50.9505, 58.6034, 28.0257)
Luminance0.5860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE7D #7E7DCE
analogous
#CEA77D #CDCE7D #A4CE7D
triadic
#CDCE7D #7DCDCE #CE7DCD
tetradic
#CDCE7D #7DCEA7 #7E7DCE #CE7DA4
square
#CDCE7D #7DCEA7 #7E7DCE #CE7DA4
split-complementary
#CDCE7D #7DA4CE #A77DCE
monochromatic
#969739 #BCBD51 #CDCE7D #DEDFA9 #EFF0D6

Accessibility & contrast

On white

1.65
#CDCE7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#CDCE7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE7D
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE7D#FFFFFF#000000##000000
##CDCE7D1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC877
Deuteranopia (green-blind)
#DBCB81
Tritanopia (blue-blind)
#D7C5BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdce7d;
/* rgb */ color: rgb(205, 206, 125);
/* oklch */ color: oklch(83.3% 0.103 109.1);
Tailwind
colors: {
  custom: {
    50: '#dddca4',
    500: '#cdce7d',
    950: '#000000',
  },
}
SCSS
$custom: #cdce7d;
$custom-light: #dddca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce7d",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 125
  },
  "hsl": {
    "h": 60.741,
    "s": 45.251,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83255,
    "c": 0.10337,
    "h": 109.1
  },
  "luminance": 0.58602
}

Semantic roles & 50–950 ramp

primary
#CDCE7D
secondary
#53529D
accent
#2DB82F
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCE7D

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

Preview Lab → · Contrast checker → · Palette generator →

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