#CDCF8D#CDCF8D

#CDCF8D is a very light, moderate yellow. Relative luminance 0.595; OKLCH L 83.7% C 0.086 H 109.6°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#CDCF8D
RGBrgb(205, 207, 141)
HSLhsl(62, 41%, 68%)
HSVhsv(62, 32%, 81%)
CMYKcmyk(1%, 0%, 31.9%, 18.8%)
CIE-LABlab(81.58, -10.89, 32.65)
CIE-LCHlch(81.58, 34.42, 108.45°)
OKLaboklab(83.74% -0.0288 0.0811)
OKLCHoklch(83.74% 0.086 109.6)
XYZxyz(52.2977, 59.5287, 33.9293)
Luminance0.5953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF8D #8F8DCF
analogous
#CFB08D #CDCF8D #ACCF8D
triadic
#CDCF8D #8DCDCF #CF8DCD
tetradic
#CDCF8D #8DCFB0 #8F8DCF #CF8DAC
square
#CDCF8D #8DCFB0 #8F8DCF #CF8DAC
split-complementary
#CDCF8D #8DACCF #B08DCF
monochromatic
#9C9F43 #BABD62 #CDCF8D #E0E1B8 #F3F3E3

Accessibility & contrast

On white

1.63
#CDCF8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#CDCF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF8D
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF8D#FFFFFF#000000##000000
##CDCF8D1.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C988
Deuteranopia (green-blind)
#DACC90
Tritanopia (blue-blind)
#D6C7BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdcf8d;
/* rgb */ color: rgb(205, 207, 141);
/* oklch */ color: oklch(83.7% 0.086 109.6);
Tailwind
colors: {
  custom: {
    50: '#ddddaf',
    500: '#cdcf8d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf8d;
$custom-light: #ddddaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf8d",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 141
  },
  "hsl": {
    "h": 61.818,
    "s": 40.741,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83738,
    "c": 0.08605,
    "h": 109.6
  },
  "luminance": 0.59528
}

Semantic roles & 50–950 ramp

primary
#CDCF8D
secondary
#5E5CA4
accent
#32B436
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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