#CDCD88#CDCD88

#CDCD88 is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.090 H 108.2°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#CDCD88
RGBrgb(205, 205, 136)
HSLhsl(60, 41%, 67%)
HSVhsv(60, 34%, 80%)
CMYKcmyk(0%, 0%, 33.7%, 19.6%)
CIE-LABlab(80.97, -10.48, 34.42)
CIE-LCHlch(80.97, 35.99, 106.94°)
OKLaboklab(83.23% -0.0279 0.085)
OKLCHoklch(83.23% 0.09 108.2)
XYZxyz(51.4525, 58.4203, 31.8536)
Luminance0.5842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD88 #8888CD
analogous
#CDAB88 #CDCD88 #ABCD88
triadic
#CDCD88 #88CDCD #CD88CD
tetradic
#CDCD88 #88CDAB #8888CD #CD88AB
square
#CDCD88 #88CDAB #8888CD #CD88AB
split-complementary
#CDCD88 #88ABCD #AB88CD
monochromatic
#9A9A41 #BBBB5D #CDCD88 #DFDFB3 #F1F1DE

Accessibility & contrast

On white

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

On black

12.68
#CDCD88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD88
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD88#FFFFFF#000000##000000
##CDCD881.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C883
Deuteranopia (green-blind)
#D9CA8B
Tritanopia (blue-blind)
#D6C5BB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcd88;
/* rgb */ color: rgb(205, 205, 136);
/* oklch */ color: oklch(83.2% 0.090 108.2);
Tailwind
colors: {
  custom: {
    50: '#dddcab',
    500: '#cdcd88',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd88;
$custom-light: #dddcab;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd88",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 136
  },
  "hsl": {
    "h": 60,
    "s": 40.828,
    "l": 66.863
  },
  "oklch": {
    "l": 0.83228,
    "c": 0.08952,
    "h": 108.2
  },
  "luminance": 0.58419
}

Semantic roles & 50–950 ramp

primary
#CDCD88
secondary
#5959A0
accent
#32B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCD88

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

Preview Lab → · Contrast checker → · Palette generator →

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