#CDCE7F#CDCE7F

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

Color values

HEX#CDCE7F
RGBrgb(205, 206, 127)
HSLhsl(61, 45%, 65%)
HSVhsv(61, 38%, 81%)
CMYKcmyk(0.5%, 0%, 38.3%, 19.2%)
CIE-LABlab(81.10, -12.03, 39.17)
CIE-LCHlch(81.10, 40.98, 107.07°)
OKLaboklab(83.29% -0.033 0.0956)
OKLCHoklch(83.29% 0.101 109)
XYZxyz(51.0796, 58.6550, 28.7053)
Luminance0.5865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE7F #807FCE
analogous
#CEA77F #CDCE7F #A6CE7F
triadic
#CDCE7F #7FCDCE #CE7FCD
tetradic
#CDCE7F #7FCEA7 #807FCE #CE7FA6
square
#CDCE7F #7FCEA7 #807FCE #CE7FA6
split-complementary
#CDCE7F #7FA6CE #A77FCE
monochromatic
#97983A #BCBD53 #CDCE7F #DEDFAB #F0F0D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCE7F#FFFFFF#000000##000000
##CDCE7F1.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)
#DAC879
Deuteranopia (green-blind)
#DBCB82
Tritanopia (blue-blind)
#D7C5BB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdce7f;
/* rgb */ color: rgb(205, 206, 127);
/* oklch */ color: oklch(83.3% 0.101 109.0);
Tailwind
colors: {
  custom: {
    50: '#dddca5',
    500: '#cdce7f',
    950: '#000000',
  },
}
SCSS
$custom: #cdce7f;
$custom-light: #dddca5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce7f",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 127
  },
  "hsl": {
    "h": 60.759,
    "s": 44.633,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83287,
    "c": 0.10113,
    "h": 109
  },
  "luminance": 0.58654
}

Semantic roles & 50–950 ramp

primary
#CDCE7F
secondary
#54539E
accent
#2EB82F
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCE7F

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

Preview Lab → · Contrast checker → · Palette generator →

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