#CDC699#CDC699

#CDC699 is a very light, moderate yellow. Relative luminance 0.557; OKLCH L 82.1% C 0.060 H 100.2°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#CDC699
RGBrgb(205, 198, 153)
HSLhsl(52, 34%, 70%)
HSVhsv(52, 25%, 80%)
CMYKcmyk(0%, 3.4%, 25.4%, 19.6%)
CIE-LABlab(79.42, -4.69, 23.49)
CIE-LCHlch(79.42, 23.95, 101.30°)
OKLaboklab(82.1% -0.0107 0.0595)
OKLCHoklch(82.1% 0.06 100.2)
XYZxyz(51.1208, 55.6682, 38.1829)
Luminance0.5567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC699 #99A0CD
analogous
#CDAC99 #CDC699 #BACD99
triadic
#CDC699 #99CDC6 #C699CD
tetradic
#CDC699 #99CDAC #99A0CD #CD99BA
square
#CDC699 #99CDAC #99A0CD #CD99BA
split-complementary
#CDC699 #99BACD #AC99CD
monochromatic
#9E934D #B9AF70 #CDC699 #E1DDC2 #F5F4EA

Accessibility & contrast

On white

1.73
#CDC699 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#CDC699 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC699
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC699#FFFFFF#000000##000000
##CDC6991.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC396
Deuteranopia (green-blind)
#D1C69B
Tritanopia (blue-blind)
#D5C0BA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc699;
/* rgb */ color: rgb(205, 198, 153);
/* oklch */ color: oklch(82.1% 0.060 100.2);
Tailwind
colors: {
  custom: {
    50: '#dcd7b7',
    500: '#cdc699',
    950: '#000000',
  },
}
SCSS
$custom: #cdc699;
$custom-light: #dcd7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc699",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 153
  },
  "hsl": {
    "h": 51.923,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.82098,
    "c": 0.06044,
    "h": 100.2
  },
  "luminance": 0.55667
}

Semantic roles & 50–950 ramp

primary
#CDC699
secondary
#6870A2
accent
#48AD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC699

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

Preview Lab → · Contrast checker → · Palette generator →

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