#CDCF99#CDCF99

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

Color values

HEX#CDCF99
RGBrgb(205, 207, 153)
HSLhsl(62, 36%, 71%)
HSVhsv(62, 26%, 81%)
CMYKcmyk(1%, 0%, 26.1%, 18.8%)
CIE-LABlab(81.79, -9.33, 26.70)
CIE-LCHlch(81.79, 28.28, 109.27°)
OKLaboklab(83.97% -0.024 0.0672)
OKLCHoklch(83.97% 0.071 109.6)
XYZxyz(53.2394, 59.9054, 38.8891)
Luminance0.5990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF99 #9B99CF
analogous
#CFB699 #CDCF99 #B2CF99
triadic
#CDCF99 #99CDCF #CF99CD
tetradic
#CDCF99 #99CFB6 #9B99CF #CF99B2
square
#CDCF99 #99CFB6 #9B99CF #CF99B2
split-complementary
#CDCF99 #99B2CF #B699CF
monochromatic
#9EA24C #B9BB6F #CDCF99 #E1E3C3 #F5F5EA

Accessibility & contrast

On white

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

On black

12.98
#CDCF99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF99
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF99#FFFFFF#000000##000000
##CDCF991.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA95
Deuteranopia (green-blind)
#D8CC9B
Tritanopia (blue-blind)
#D4C8C1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdcf99;
/* rgb */ color: rgb(205, 207, 153);
/* oklch */ color: oklch(84.0% 0.071 109.6);
Tailwind
colors: {
  custom: {
    50: '#dcddb7',
    500: '#cdcf99',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf99;
$custom-light: #dcddb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf99",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 153
  },
  "hsl": {
    "h": 62.222,
    "s": 36,
    "l": 70.588
  },
  "oklch": {
    "l": 0.83968,
    "c": 0.07137,
    "h": 109.6
  },
  "luminance": 0.59905
}

Semantic roles & 50–950 ramp

primary
#CDCF99
secondary
#6A68A5
accent
#37AF3B
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCF99

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

Preview Lab → · Contrast checker → · Palette generator →

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