#CDCA95#CDCA95

#CDCA95 is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.070 H 105.1°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#CDCA95
RGBrgb(205, 202, 149)
HSLhsl(57, 36%, 69%)
HSVhsv(57, 27%, 80%)
CMYKcmyk(0%, 1.5%, 27.3%, 19.6%)
CIE-LABlab(80.40, -7.30, 26.92)
CIE-LCHlch(80.40, 27.89, 105.18°)
OKLaboklab(82.85% -0.0183 0.0677)
OKLCHoklch(82.85% 0.07 105.1)
XYZxyz(51.7223, 57.3910, 36.7808)
Luminance0.5739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA95 #9598CD
analogous
#CDAE95 #CDCA95 #B4CD95
triadic
#CDCA95 #95CDCA #CA95CD
tetradic
#CDCA95 #95CDAE #9598CD #CD95B4
square
#CDCA95 #95CDAE #9598CD #CD95B4
split-complementary
#CDCA95 #95B4CD #AE95CD
monochromatic
#9D994A #B9B56B #CDCA95 #E1DFBF #F4F4E8

Accessibility & contrast

On white

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

On black

12.48
#CDCA95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA95
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA95#FFFFFF#000000##000000
##CDCA951.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C692
Deuteranopia (green-blind)
#D5C997
Tritanopia (blue-blind)
#D5C3BC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdca95;
/* rgb */ color: rgb(205, 202, 149);
/* oklch */ color: oklch(82.8% 0.070 105.1);
Tailwind
colors: {
  custom: {
    50: '#dddab4',
    500: '#cdca95',
    950: '#000000',
  },
}
SCSS
$custom: #cdca95;
$custom-light: #dddab4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca95",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 149
  },
  "hsl": {
    "h": 56.786,
    "s": 35.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.82845,
    "c": 0.0701,
    "h": 105.1
  },
  "luminance": 0.5739
}

Semantic roles & 50–950 ramp

primary
#CDCA95
secondary
#6467A2
accent
#3DAF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDCA95

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

Preview Lab → · Contrast checker → · Palette generator →

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