#CDCC95#CDCC95

#CDCC95 is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.3% C 0.073 H 107.0°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CDCC95
RGBrgb(205, 204, 149)
HSLhsl(59, 36%, 69%)
HSVhsv(59, 27%, 80%)
CMYKcmyk(0%, 0.5%, 27.3%, 19.6%)
CIE-LABlab(80.92, -8.33, 27.62)
CIE-LCHlch(80.92, 28.85, 106.78°)
OKLaboklab(83.26% -0.0212 0.0694)
OKLCHoklch(83.26% 0.073 107)
XYZxyz(52.1946, 58.3356, 36.9383)
Luminance0.5834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC95 #9596CD
analogous
#CDB095 #CDCC95 #B2CD95
triadic
#CDCC95 #95CDCC #CC95CD
tetradic
#CDCC95 #95CDB0 #9596CD #CD95B2
square
#CDCC95 #95CDB0 #9596CD #CD95B2
split-complementary
#CDCC95 #95B2CD #B095CD
monochromatic
#9D9C4A #B9B86B #CDCC95 #E1E0BF #F4F4E8

Accessibility & contrast

On white

1.66
#CDCC95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#CDCC95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC95
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC95#FFFFFF#000000##000000
##CDCC951.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C891
Deuteranopia (green-blind)
#D6CA97
Tritanopia (blue-blind)
#D5C5BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcc95;
/* rgb */ color: rgb(205, 204, 149);
/* oklch */ color: oklch(83.3% 0.073 107.0);
Tailwind
colors: {
  custom: {
    50: '#dddbb4',
    500: '#cdcc95',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc95;
$custom-light: #dddbb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc95",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 149
  },
  "hsl": {
    "h": 58.929,
    "s": 35.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.83262,
    "c": 0.07255,
    "h": 107
  },
  "luminance": 0.58335
}

Semantic roles & 50–950 ramp

primary
#CDCC95
secondary
#6465A2
accent
#39AF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCC95

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

Preview Lab → · Contrast checker → · Palette generator →

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