#CDCD95#CDCD95

#CDCD95 is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.5% C 0.074 H 107.9°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#CDCD95
RGBrgb(205, 205, 149)
HSLhsl(60, 36%, 69%)
HSVhsv(60, 27%, 80%)
CMYKcmyk(0%, 0%, 27.3%, 19.6%)
CIE-LABlab(81.19, -8.84, 27.98)
CIE-LCHlch(81.19, 29.34, 107.54°)
OKLaboklab(83.47% -0.0227 0.0702)
OKLCHoklch(83.47% 0.074 107.9)
XYZxyz(52.4331, 58.8125, 37.0177)
Luminance0.5881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD95 #9595CD
analogous
#CDB195 #CDCD95 #B1CD95
triadic
#CDCD95 #95CDCD #CD95CD
tetradic
#CDCD95 #95CDB1 #9595CD #CD95B1
square
#CDCD95 #95CDB1 #9595CD #CD95B1
split-complementary
#CDCD95 #95B1CD #B195CD
monochromatic
#9D9D4A #B9B96B #CDCD95 #E1E1BF #F4F4E8

Accessibility & contrast

On white

1.65
#CDCD95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#CDCD95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD95
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD95#FFFFFF#000000##000000
##CDCD951.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C891
Deuteranopia (green-blind)
#D7CB97
Tritanopia (blue-blind)
#D5C6BE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcd95;
/* rgb */ color: rgb(205, 205, 149);
/* oklch */ color: oklch(83.5% 0.074 107.9);
Tailwind
colors: {
  custom: {
    50: '#dddcb4',
    500: '#cdcd95',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd95;
$custom-light: #dddcb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd95",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 149
  },
  "hsl": {
    "h": 60,
    "s": 35.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.8347,
    "c": 0.07379,
    "h": 107.9
  },
  "luminance": 0.58812
}

Semantic roles & 50–950 ramp

primary
#CDCD95
secondary
#6464A2
accent
#37AF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCD95

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

Preview Lab → · Contrast checker → · Palette generator →

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