#CDC097#CDC097

#CDC097 is a light, muted yellow. Relative luminance 0.529; OKLCH L 80.8% C 0.057 H 92.6°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#CDC097
RGBrgb(205, 192, 151)
HSLhsl(46, 35%, 70%)
HSVhsv(46, 26%, 80%)
CMYKcmyk(0%, 6.3%, 26.3%, 19.6%)
CIE-LABlab(77.82, -1.83, 22.36)
CIE-LCHlch(77.82, 22.44, 94.68°)
OKLaboklab(80.82% -0.0025 0.0567)
OKLCHoklch(80.82% 0.057 92.6)
XYZxyz(49.6126, 52.9139, 36.8721)
Luminance0.5291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC097 #97A4CD
analogous
#CDA597 #CDC097 #BFCD97
triadic
#CDC097 #97CDC0 #C097CD
tetradic
#CDC097 #97CDA5 #97A4CD #CD97BF
square
#CDC097 #97CDA5 #97A4CD #CD97BF
split-complementary
#CDC097 #97BFCD #A597CD
monochromatic
#9E8A4C #B9A76E #CDC097 #E1D9C0 #F5F2EA

Accessibility & contrast

On white

1.81
#CDC097 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#CDC097 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC097
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC097#FFFFFF#000000##000000
##CDC0971.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9BE94
Deuteranopia (green-blind)
#CDC298
Tritanopia (blue-blind)
#D6BAB5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc097;
/* rgb */ color: rgb(205, 192, 151);
/* oklch */ color: oklch(80.8% 0.057 92.6);
Tailwind
colors: {
  custom: {
    50: '#ddd2b5',
    500: '#cdc097',
    950: '#000000',
  },
}
SCSS
$custom: #cdc097;
$custom-light: #ddd2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc097",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 151
  },
  "hsl": {
    "h": 45.556,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.80823,
    "c": 0.05679,
    "h": 92.6
  },
  "luminance": 0.52913
}

Semantic roles & 50–950 ramp

primary
#CDC097
secondary
#6674A2
accent
#54AE38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC097

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

Preview Lab → · Contrast checker → · Palette generator →

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