#CDCE7B#CDCE7B

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

Color values

HEX#CDCE7B
RGBrgb(205, 206, 123)
HSLhsl(61, 46%, 65%)
HSVhsv(61, 40%, 81%)
CMYKcmyk(0.5%, 0%, 40.3%, 19.2%)
CIE-LABlab(81.05, -12.47, 41.11)
CIE-LCHlch(81.05, 42.96, 106.87°)
OKLaboklab(83.22% -0.0345 0.0998)
OKLCHoklch(83.22% 0.106 109.1)
XYZxyz(50.8240, 58.5528, 27.3595)
Luminance0.5855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE7B #7C7BCE
analogous
#CEA67B #CDCE7B #A4CE7B
triadic
#CDCE7B #7BCDCE #CE7BCD
tetradic
#CDCE7B #7BCEA6 #7C7BCE #CE7BA4
square
#CDCE7B #7BCEA6 #7C7BCE #CE7BA4
split-complementary
#CDCE7B #7BA4CE #A67BCE
monochromatic
#969738 #BCBD4E #CDCE7B #DEDFA8 #EFEFD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCE7B#FFFFFF#000000##000000
##CDCE7B1.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)
#DAC875
Deuteranopia (green-blind)
#DBCB7F
Tritanopia (blue-blind)
#D8C5BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdce7b;
/* rgb */ color: rgb(205, 206, 123);
/* oklch */ color: oklch(83.2% 0.106 109.1);
Tailwind
colors: {
  custom: {
    50: '#dddca2',
    500: '#cdce7b',
    950: '#000000',
  },
}
SCSS
$custom: #cdce7b;
$custom-light: #dddca2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce7b",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 123
  },
  "hsl": {
    "h": 60.723,
    "s": 45.856,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83223,
    "c": 0.1056,
    "h": 109.1
  },
  "luminance": 0.58552
}

Semantic roles & 50–950 ramp

primary
#CDCE7B
secondary
#51519D
accent
#2CB92E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCE7B

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

Preview Lab → · Contrast checker → · Palette generator →

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