#CDC197#CDC197

#CDC197 is a light, muted yellow. Relative luminance 0.534; OKLCH L 81.0% C 0.058 H 94.0°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CDC197
RGBrgb(205, 193, 151)
HSLhsl(47, 35%, 70%)
HSVhsv(47, 26%, 80%)
CMYKcmyk(0%, 5.9%, 26.3%, 19.6%)
CIE-LABlab(78.08, -2.36, 22.72)
CIE-LCHlch(78.08, 22.84, 95.92°)
OKLaboklab(81.03% -0.004 0.0576)
OKLCHoklch(81.03% 0.058 94)
XYZxyz(49.8330, 53.3546, 36.9455)
Luminance0.5335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC197 #97A3CD
analogous
#CDA697 #CDC197 #BECD97
triadic
#CDC197 #97CDC1 #C197CD
tetradic
#CDC197 #97CDA6 #97A3CD #CD97BE
square
#CDC197 #97CDA6 #97A3CD #CD97BE
split-complementary
#CDC197 #97BECD #A697CD
monochromatic
#9E8C4C #B9A86E #CDC197 #E1DAC0 #F5F2EA

Accessibility & contrast

On white

1.80
#CDC197 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#CDC197 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC197
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC197#FFFFFF#000000##000000
##CDC1971.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABF94
Deuteranopia (green-blind)
#CDC398
Tritanopia (blue-blind)
#D6BBB6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc197;
/* rgb */ color: rgb(205, 193, 151);
/* oklch */ color: oklch(81.0% 0.058 94.0);
Tailwind
colors: {
  custom: {
    50: '#dcd3b5',
    500: '#cdc197',
    950: '#000000',
  },
}
SCSS
$custom: #cdc197;
$custom-light: #dcd3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc197",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 151
  },
  "hsl": {
    "h": 46.667,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.81027,
    "c": 0.05773,
    "h": 94
  },
  "luminance": 0.53353
}

Semantic roles & 50–950 ramp

primary
#CDC197
secondary
#6673A2
accent
#52AE38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC197

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

Preview Lab → · Contrast checker → · Palette generator →

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