#CDCF8B#CDCF8B

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

Color values

HEX#CDCF8B
RGBrgb(205, 207, 139)
HSLhsl(62, 41%, 68%)
HSVhsv(62, 33%, 81%)
CMYKcmyk(1%, 0%, 32.9%, 18.8%)
CIE-LABlab(81.55, -11.14, 33.64)
CIE-LCHlch(81.55, 35.43, 108.32°)
OKLaboklab(83.7% -0.0297 0.0833)
OKLCHoklch(83.7% 0.088 109.6)
XYZxyz(52.1502, 59.4697, 33.1527)
Luminance0.5947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF8B #8D8BCF
analogous
#CFAF8B #CDCF8B #ABCF8B
triadic
#CDCF8B #8BCDCF #CF8BCD
tetradic
#CDCF8B #8BCFAF #8D8BCF #CF8BAB
square
#CDCF8B #8BCFAF #8D8BCF #CF8BAB
split-complementary
#CDCF8B #8BABCF #AF8BCF
monochromatic
#9B9E41 #BABD60 #CDCF8B #E0E1B6 #F2F3E2

Accessibility & contrast

On white

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

On black

12.89
#CDCF8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF8B
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF8B#FFFFFF#000000##000000
##CDCF8B1.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcf8b;
/* rgb */ color: rgb(205, 207, 139);
/* oklch */ color: oklch(83.7% 0.088 109.6);
Tailwind
colors: {
  custom: {
    50: '#ddddad',
    500: '#cdcf8b',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf8b;
$custom-light: #ddddad;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf8b",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 139
  },
  "hsl": {
    "h": 61.765,
    "s": 41.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83702,
    "c": 0.08843,
    "h": 109.6
  },
  "luminance": 0.59469
}

Semantic roles & 50–950 ramp

primary
#CDCF8B
secondary
#5C5AA4
accent
#31B535
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCF8B

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

Preview Lab → · Contrast checker → · Palette generator →

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