#CDCD6A#CDCD6A

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

Color values

HEX#CDCD6A
RGBrgb(205, 205, 106)
HSLhsl(60, 50%, 61%)
HSVhsv(60, 48%, 80%)
CMYKcmyk(0%, 0%, 48.3%, 19.6%)
CIE-LABlab(80.56, -13.64, 48.86)
CIE-LCHlch(80.56, 50.72, 105.60°)
OKLaboklab(82.77% -0.0394 0.1158)
OKLCHoklch(82.77% 0.122 108.8)
XYZxyz(49.6108, 57.6836, 22.1535)
Luminance0.5768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD6A #6A6ACD
analogous
#CD9B6A #CDCD6A #9BCD6A
triadic
#CDCD6A #6ACDCD #CD6ACD
tetradic
#CDCD6A #6ACD9B #6A6ACD #CD6A9B
square
#CDCD6A #6ACD9B #6A6ACD #CD6A9B
split-complementary
#CDCD6A #6A9BCD #9B6ACD
monochromatic
#8D8D2F #BBBB3F #CDCD6A #DCDC98 #ECECC6

Accessibility & contrast

On white

1.68
#CDCD6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCD6A#FFFFFF#000000##000000
##CDCD6A1.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcd6a;
/* rgb */ color: rgb(205, 205, 106);
/* oklch */ color: oklch(82.8% 0.122 108.8);
Tailwind
colors: {
  custom: {
    50: '#dedc97',
    500: '#cdcd6a',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd6a;
$custom-light: #dedc97;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd6a",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 106
  },
  "hsl": {
    "h": 60,
    "s": 49.749,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82769,
    "c": 0.12236,
    "h": 108.8
  },
  "luminance": 0.57682
}

Semantic roles & 50–950 ramp

primary
#CDCD6A
secondary
#474794
accent
#28BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCD6A

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

Preview Lab → · Contrast checker → · Palette generator →

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