#CDCA97#CDCA97

#CDCA97 is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 82.9% C 0.068 H 105.0°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#CDCA97
RGBrgb(205, 202, 151)
HSLhsl(57, 35%, 70%)
HSVhsv(57, 26%, 80%)
CMYKcmyk(0%, 1.5%, 26.3%, 19.6%)
CIE-LABlab(80.44, -7.04, 25.92)
CIE-LCHlch(80.44, 26.85, 105.19°)
OKLaboklab(82.89% -0.0174 0.0653)
OKLCHoklch(82.89% 0.068 105)
XYZxyz(51.8834, 57.4554, 37.6290)
Luminance0.5746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA97 #979ACD
analogous
#CDAF97 #CDCA97 #B5CD97
triadic
#CDCA97 #97CDCA #CA97CD
tetradic
#CDCA97 #97CDAF #979ACD #CD97B5
square
#CDCA97 #97CDAF #979ACD #CD97B5
split-complementary
#CDCA97 #97B5CD #AF97CD
monochromatic
#9E994C #B9B56E #CDCA97 #E1DFC0 #F5F4EA

Accessibility & contrast

On white

1.68
#CDCA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#CDCA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA97
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA97#FFFFFF#000000##000000
##CDCA971.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C694
Deuteranopia (green-blind)
#D5C999
Tritanopia (blue-blind)
#D5C3BC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdca97;
/* rgb */ color: rgb(205, 202, 151);
/* oklch */ color: oklch(82.9% 0.068 105.0);
Tailwind
colors: {
  custom: {
    50: '#dddab6',
    500: '#cdca97',
    950: '#000000',
  },
}
SCSS
$custom: #cdca97;
$custom-light: #dddab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca97",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 151
  },
  "hsl": {
    "h": 56.667,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.82885,
    "c": 0.06761,
    "h": 105
  },
  "luminance": 0.57455
}

Semantic roles & 50–950 ramp

primary
#CDCA97
secondary
#6669A2
accent
#3EAE38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDCA97

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

Preview Lab → · Contrast checker → · Palette generator →

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