#CDC697#CDC697

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

Color values

HEX#CDC697
RGBrgb(205, 198, 151)
HSLhsl(52, 35%, 70%)
HSVhsv(52, 26%, 80%)
CMYKcmyk(0%, 3.4%, 26.3%, 19.6%)
CIE-LABlab(79.39, -4.97, 24.49)
CIE-LCHlch(79.39, 24.99, 101.46°)
OKLaboklab(82.06% -0.0115 0.0619)
OKLCHoklch(82.06% 0.063 100.6)
XYZxyz(50.9570, 55.6026, 37.3202)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC697 #979ECD
analogous
#CDAB97 #CDC697 #B9CD97
triadic
#CDC697 #97CDC6 #C697CD
tetradic
#CDC697 #97CDAB #979ECD #CD97B9
square
#CDC697 #97CDAB #979ECD #CD97B9
split-complementary
#CDC697 #97B9CD #AB97CD
monochromatic
#9E934C #B9AF6E #CDC697 #E1DDC0 #F5F3EA

Accessibility & contrast

On white

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

On black

12.12
#CDC697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC697
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC697#FFFFFF#000000##000000
##CDC6971.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC394
Deuteranopia (green-blind)
#D1C699
Tritanopia (blue-blind)
#D5BFB9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc697;
/* rgb */ color: rgb(205, 198, 151);
/* oklch */ color: oklch(82.1% 0.063 100.6);
Tailwind
colors: {
  custom: {
    50: '#ddd7b6',
    500: '#cdc697',
    950: '#000000',
  },
}
SCSS
$custom: #cdc697;
$custom-light: #ddd7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc697",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 151
  },
  "hsl": {
    "h": 52.222,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.82057,
    "c": 0.06296,
    "h": 100.6
  },
  "luminance": 0.55602
}

Semantic roles & 50–950 ramp

primary
#CDC697
secondary
#666EA2
accent
#47AE38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC697

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

Preview Lab → · Contrast checker → · Palette generator →

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