#CDCF98#CDCF98

#CDCF98 is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 83.9% C 0.073 H 109.6°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#CDCF98
RGBrgb(205, 207, 152)
HSLhsl(62, 36%, 70%)
HSVhsv(62, 27%, 81%)
CMYKcmyk(1%, 0%, 26.6%, 18.8%)
CIE-LABlab(81.77, -9.47, 27.19)
CIE-LCHlch(81.77, 28.80, 109.20°)
OKLaboklab(83.95% -0.0244 0.0684)
OKLCHoklch(83.95% 0.073 109.6)
XYZxyz(53.1571, 59.8725, 38.4559)
Luminance0.5987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF98 #9A98CF
analogous
#CFB598 #CDCF98 #B1CF98
triadic
#CDCF98 #98CDCF #CF98CD
tetradic
#CDCF98 #98CFB5 #9A98CF #CF98B1
square
#CDCF98 #98CFB5 #9A98CF #CF98B1
split-complementary
#CDCF98 #98B1CF #B598CF
monochromatic
#9EA14B #B9BC6E #CDCF98 #E1E2C2 #F5F5EA

Accessibility & contrast

On white

1.62
#CDCF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#CDCF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF98
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF98#FFFFFF#000000##000000
##CDCF981.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA94
Deuteranopia (green-blind)
#D8CC9A
Tritanopia (blue-blind)
#D5C8C0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdcf98;
/* rgb */ color: rgb(205, 207, 152);
/* oklch */ color: oklch(83.9% 0.073 109.6);
Tailwind
colors: {
  custom: {
    50: '#ddddb6',
    500: '#cdcf98',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf98;
$custom-light: #ddddb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf98",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 152
  },
  "hsl": {
    "h": 62.182,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.83948,
    "c": 0.07262,
    "h": 109.6
  },
  "luminance": 0.59872
}

Semantic roles & 50–950 ramp

primary
#CDCF98
secondary
#6967A5
accent
#36AF3B
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCF98

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

Preview Lab → · Contrast checker → · Palette generator →

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