#CDCD6C#CDCD6C

#CDCD6C is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.120 H 108.8°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CDCD6C
RGBrgb(205, 205, 108)
HSLhsl(60, 49%, 61%)
HSVhsv(60, 47%, 80%)
CMYKcmyk(0%, 0%, 47.3%, 19.6%)
CIE-LABlab(80.59, -13.46, 47.92)
CIE-LCHlch(80.59, 49.78, 105.69°)
OKLaboklab(82.8% -0.0387 0.114)
OKLCHoklch(82.8% 0.12 108.8)
XYZxyz(49.7160, 57.7256, 22.7077)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD6C #6C6CCD
analogous
#CD9D6C #CDCD6C #9DCD6C
triadic
#CDCD6C #6CCDCD #CD6CCD
tetradic
#CDCD6C #6CCD9D #6C6CCD #CD6C9D
square
#CDCD6C #6CCD9D #6C6CCD #CD6C9D
split-complementary
#CDCD6C #6C9DCD #9D6CCD
monochromatic
#8E8E30 #BCBC40 #CDCD6C #DDDD9A #ECECC7

Accessibility & contrast

On white

1.67
#CDCD6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#CDCD6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD6C
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD6C#FFFFFF#000000##000000
##CDCD6C1.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC663
Deuteranopia (green-blind)
#DCCA71
Tritanopia (blue-blind)
#D9C2B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcd6c;
/* rgb */ color: rgb(205, 205, 108);
/* oklch */ color: oklch(82.8% 0.120 108.8);
Tailwind
colors: {
  custom: {
    50: '#dedc98',
    500: '#cdcd6c',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd6c;
$custom-light: #dedc98;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd6c",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 108
  },
  "hsl": {
    "h": 60,
    "s": 49.239,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82795,
    "c": 0.12035,
    "h": 108.8
  },
  "luminance": 0.57724
}

Semantic roles & 50–950 ramp

primary
#CDCD6C
secondary
#484895
accent
#29BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCD6C

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

Preview Lab → · Contrast checker → · Palette generator →

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