#CDCE7E#CDCE7E

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

Color values

HEX#CDCE7E
RGBrgb(205, 206, 126)
HSLhsl(61, 45%, 65%)
HSVhsv(61, 39%, 81%)
CMYKcmyk(0.5%, 0%, 38.8%, 19.2%)
CIE-LABlab(81.09, -12.14, 39.66)
CIE-LCHlch(81.09, 41.48, 107.02°)
OKLaboklab(83.27% -0.0334 0.0967)
OKLCHoklch(83.27% 0.102 109)
XYZxyz(51.0147, 58.6291, 28.3638)
Luminance0.5863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE7E #7F7ECE
analogous
#CEA77E #CDCE7E #A5CE7E
triadic
#CDCE7E #7ECDCE #CE7ECD
tetradic
#CDCE7E #7ECEA7 #7F7ECE #CE7EA5
square
#CDCE7E #7ECEA7 #7F7ECE #CE7EA5
split-complementary
#CDCE7E #7EA5CE #A77ECE
monochromatic
#97983A #BCBD52 #CDCE7E #DEDFAA #EFF0D7

Accessibility & contrast

On white

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

On black

12.73
#CDCE7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE7E
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE7E#FFFFFF#000000##000000
##CDCE7E1.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdce7e;
/* rgb */ color: rgb(205, 206, 126);
/* oklch */ color: oklch(83.3% 0.102 109.0);
Tailwind
colors: {
  custom: {
    50: '#dddca4',
    500: '#cdce7e',
    950: '#000000',
  },
}
SCSS
$custom: #cdce7e;
$custom-light: #dddca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce7e",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 126
  },
  "hsl": {
    "h": 60.75,
    "s": 44.944,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83271,
    "c": 0.10225,
    "h": 109
  },
  "luminance": 0.58628
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCE7E

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

Preview Lab → · Contrast checker → · Palette generator →

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