#CDCE7A#CDCE7A

#CDCE7A is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.2% C 0.107 H 109.1°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#CDCE7A
RGBrgb(205, 206, 122)
HSLhsl(61, 46%, 64%)
HSVhsv(61, 41%, 81%)
CMYKcmyk(0.5%, 0%, 40.8%, 19.2%)
CIE-LABlab(81.03, -12.57, 41.60)
CIE-LCHlch(81.03, 43.45, 106.82°)
OKLaboklab(83.21% -0.0349 0.1008)
OKLCHoklch(83.21% 0.107 109.1)
XYZxyz(50.7617, 58.5279, 27.0315)
Luminance0.5853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE7A #7B7ACE
analogous
#CEA57A #CDCE7A #A3CE7A
triadic
#CDCE7A #7ACDCE #CE7ACD
tetradic
#CDCE7A #7ACEA5 #7B7ACE #CE7AA3
square
#CDCE7A #7ACEA5 #7B7ACE #CE7AA3
split-complementary
#CDCE7A #7AA3CE #A57ACE
monochromatic
#959637 #BCBE4D #CDCE7A #DEDEA7 #EFEFD3

Accessibility & contrast

On white

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

On black

12.71
#CDCE7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE7A
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE7A#FFFFFF#000000##000000
##CDCE7A1.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC873
Deuteranopia (green-blind)
#DBCB7E
Tritanopia (blue-blind)
#D8C5BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdce7a;
/* rgb */ color: rgb(205, 206, 122);
/* oklch */ color: oklch(83.2% 0.107 109.1);
Tailwind
colors: {
  custom: {
    50: '#dddca2',
    500: '#cdce7a',
    950: '#000000',
  },
}
SCSS
$custom: #cdce7a;
$custom-light: #dddca2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce7a",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 122
  },
  "hsl": {
    "h": 60.714,
    "s": 46.154,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83208,
    "c": 0.1067,
    "h": 109.1
  },
  "luminance": 0.58527
}

Semantic roles & 50–950 ramp

primary
#CDCE7A
secondary
#51509C
accent
#2CB92E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCE7A

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

Preview Lab → · Contrast checker → · Palette generator →

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