#CDC698#CDC698

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

Color values

HEX#CDC698
RGBrgb(205, 198, 152)
HSLhsl(52, 35%, 70%)
HSVhsv(52, 26%, 80%)
CMYKcmyk(0%, 3.4%, 25.9%, 19.6%)
CIE-LABlab(79.41, -4.83, 23.99)
CIE-LCHlch(79.41, 24.47, 101.38°)
OKLaboklab(82.08% -0.0111 0.0607)
OKLCHoklch(82.08% 0.062 100.4)
XYZxyz(51.0385, 55.6353, 37.7497)
Luminance0.5563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC698 #989FCD
analogous
#CDAB98 #CDC698 #BACD98
triadic
#CDC698 #98CDC6 #C698CD
tetradic
#CDC698 #98CDAB #989FCD #CD98BA
square
#CDC698 #98CDAB #989FCD #CD98BA
split-complementary
#CDC698 #98BACD #AB98CD
monochromatic
#9E934D #B9AF6F #CDC698 #E1DDC1 #F5F4EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC698#FFFFFF#000000##000000
##CDC6981.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)
#CFC395
Deuteranopia (green-blind)
#D1C69A
Tritanopia (blue-blind)
#D5C0BA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc698;
/* rgb */ color: rgb(205, 198, 152);
/* oklch */ color: oklch(82.1% 0.062 100.4);
Tailwind
colors: {
  custom: {
    50: '#dcd7b6',
    500: '#cdc698',
    950: '#000000',
  },
}
SCSS
$custom: #cdc698;
$custom-light: #dcd7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc698",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 152
  },
  "hsl": {
    "h": 52.075,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.82077,
    "c": 0.06171,
    "h": 100.4
  },
  "luminance": 0.55634
}

Semantic roles & 50–950 ramp

primary
#CDC698
secondary
#676FA2
accent
#48AD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC698

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

Preview Lab → · Contrast checker → · Palette generator →

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