#CDCF8F#CDCF8F

#CDCF8F is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.8% C 0.084 H 109.6°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#CDCF8F
RGBrgb(205, 207, 143)
HSLhsl(62, 40%, 69%)
HSVhsv(62, 31%, 81%)
CMYKcmyk(1%, 0%, 30.9%, 18.8%)
CIE-LABlab(81.61, -10.64, 31.66)
CIE-LCHlch(81.61, 33.40, 108.58°)
OKLaboklab(83.78% -0.028 0.0788)
OKLCHoklch(83.78% 0.084 109.6)
XYZxyz(52.4478, 59.5887, 34.7201)
Luminance0.5959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF8F #918FCF
analogous
#CFB18F #CDCF8F #ADCF8F
triadic
#CDCF8F #8FCDCF #CF8FCD
tetradic
#CDCF8F #8FCFB1 #918FCF #CF8FAD
square
#CDCF8F #8FCFB1 #918FCF #CF8FAD
split-complementary
#CDCF8F #8FADCF #B18FCF
monochromatic
#9C9F44 #BABD64 #CDCF8F #E0E1BA #F3F4E5

Accessibility & contrast

On white

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

On black

12.92
#CDCF8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF8F
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF8F#FFFFFF#000000##000000
##CDCF8F1.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcf8f;
/* rgb */ color: rgb(205, 207, 143);
/* oklch */ color: oklch(83.8% 0.084 109.6);
Tailwind
colors: {
  custom: {
    50: '#ddddb0',
    500: '#cdcf8f',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf8f;
$custom-light: #ddddb0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf8f",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 143
  },
  "hsl": {
    "h": 61.875,
    "s": 40,
    "l": 68.627
  },
  "oklch": {
    "l": 0.83775,
    "c": 0.08365,
    "h": 109.6
  },
  "luminance": 0.59588
}

Semantic roles & 50–950 ramp

primary
#CDCF8F
secondary
#605EA4
accent
#32B337
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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