#CDCD84#CDCD84

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

Color values

HEX#CDCD84
RGBrgb(205, 205, 132)
HSLhsl(60, 42%, 66%)
HSVhsv(60, 36%, 80%)
CMYKcmyk(0%, 0%, 35.6%, 19.6%)
CIE-LABlab(80.91, -10.96, 36.39)
CIE-LCHlch(80.91, 38.00, 106.75°)
OKLaboklab(83.16% -0.0295 0.0894)
OKLCHoklch(83.16% 0.094 108.3)
XYZxyz(51.1736, 58.3087, 30.3843)
Luminance0.5831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD84 #8484CD
analogous
#CDA884 #CDCD84 #A8CD84
triadic
#CDCD84 #84CDCD #CD84CD
tetradic
#CDCD84 #84CDA8 #8484CD #CD84A8
square
#CDCD84 #84CDA8 #8484CD #CD84A8
split-complementary
#CDCD84 #84A8CD #A884CD
monochromatic
#99993E #BBBB58 #CDCD84 #DFDFB0 #F0F0DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCD84#FFFFFF#000000##000000
##CDCD841.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)
#D8C77F
Deuteranopia (green-blind)
#D9CA87
Tritanopia (blue-blind)
#D7C4BB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcd84;
/* rgb */ color: rgb(205, 205, 132);
/* oklch */ color: oklch(83.2% 0.094 108.3);
Tailwind
colors: {
  custom: {
    50: '#dddca8',
    500: '#cdcd84',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd84;
$custom-light: #dddca8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd84",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 132
  },
  "hsl": {
    "h": 60,
    "s": 42.197,
    "l": 66.078
  },
  "oklch": {
    "l": 0.83159,
    "c": 0.0942,
    "h": 108.3
  },
  "luminance": 0.58308
}

Semantic roles & 50–950 ramp

primary
#CDCD84
secondary
#56569F
accent
#30B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151510
muted
#848480

Preview Lab

Preview with #CDCD84

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

Preview Lab → · Contrast checker → · Palette generator →

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