#CDCD93#CDCD93

#CDCD93 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.4% C 0.076 H 107.9°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#CDCD93
RGBrgb(205, 205, 147)
HSLhsl(60, 37%, 69%)
HSVhsv(60, 28%, 80%)
CMYKcmyk(0%, 0%, 28.3%, 19.6%)
CIE-LABlab(81.15, -9.11, 28.97)
CIE-LCHlch(81.15, 30.37, 107.45°)
OKLaboklab(83.43% -0.0235 0.0726)
OKLCHoklch(83.43% 0.076 107.9)
XYZxyz(52.2748, 58.7492, 36.1840)
Luminance0.5875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD93 #9393CD
analogous
#CDB093 #CDCD93 #B0CD93
triadic
#CDCD93 #93CDCD #CD93CD
tetradic
#CDCD93 #93CDB0 #9393CD #CD93B0
square
#CDCD93 #93CDB0 #9393CD #CD93B0
split-complementary
#CDCD93 #93B0CD #B093CD
monochromatic
#9D9D49 #BABA69 #CDCD93 #E0E0BD #F4F4E7

Accessibility & contrast

On white

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

On black

12.75
#CDCD93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD93
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD93#FFFFFF#000000##000000
##CDCD931.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcd93;
/* rgb */ color: rgb(205, 205, 147);
/* oklch */ color: oklch(83.4% 0.076 107.9);
Tailwind
colors: {
  custom: {
    50: '#dddcb3',
    500: '#cdcd93',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd93;
$custom-light: #dddcb3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd93",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 147
  },
  "hsl": {
    "h": 60,
    "s": 36.709,
    "l": 69.02
  },
  "oklch": {
    "l": 0.83431,
    "c": 0.07626,
    "h": 107.9
  },
  "luminance": 0.58748
}

Semantic roles & 50–950 ramp

primary
#CDCD93
secondary
#6262A2
accent
#36B036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCD93

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

Preview Lab → · Contrast checker → · Palette generator →

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