#CDCD83#CDCD83

#CDCD83 is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.095 H 108.3°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#CDCD83
RGBrgb(205, 205, 131)
HSLhsl(60, 43%, 66%)
HSVhsv(60, 36%, 80%)
CMYKcmyk(0%, 0%, 36.1%, 19.6%)
CIE-LABlab(80.89, -11.07, 36.88)
CIE-LCHlch(80.89, 38.51, 106.71°)
OKLaboklab(83.14% -0.0299 0.0905)
OKLCHoklch(83.14% 0.095 108.3)
XYZxyz(51.1055, 58.2814, 30.0256)
Luminance0.5828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD83 #8383CD
analogous
#CDA883 #CDCD83 #A8CD83
triadic
#CDCD83 #83CDCD #CD83CD
tetradic
#CDCD83 #83CDA8 #8383CD #CD83A8
square
#CDCD83 #83CDA8 #8383CD #CD83A8
split-complementary
#CDCD83 #83A8CD #A883CD
monochromatic
#98983D #BBBB57 #CDCD83 #DFDFAF #F0F0DA

Accessibility & contrast

On white

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

On black

12.66
#CDCD83 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD83
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD83#FFFFFF#000000##000000
##CDCD831.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C77E
Deuteranopia (green-blind)
#DACA86
Tritanopia (blue-blind)
#D7C4BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcd83;
/* rgb */ color: rgb(205, 205, 131);
/* oklch */ color: oklch(83.1% 0.095 108.3);
Tailwind
colors: {
  custom: {
    50: '#dddca8',
    500: '#cdcd83',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd83;
$custom-light: #dddca8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd83",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 131
  },
  "hsl": {
    "h": 60,
    "s": 42.529,
    "l": 65.882
  },
  "oklch": {
    "l": 0.83142,
    "c": 0.09536,
    "h": 108.3
  },
  "luminance": 0.5828
}

Semantic roles & 50–950 ramp

primary
#CDCD83
secondary
#56569E
accent
#30B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCD83

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

Preview Lab → · Contrast checker → · Palette generator →

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