#CDCD68#CDCD68

#CDCD68 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.7% C 0.124 H 108.8°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#CDCD68
RGBrgb(205, 205, 104)
HSLhsl(60, 50%, 61%)
HSVhsv(60, 49%, 80%)
CMYKcmyk(0%, 0%, 49.3%, 19.6%)
CIE-LABlab(80.54, -13.82, 49.78)
CIE-LCHlch(80.54, 51.66, 105.52°)
OKLaboklab(82.74% -0.0401 0.1177)
OKLCHoklch(82.74% 0.124 108.8)
XYZxyz(49.5080, 57.6424, 21.6122)
Luminance0.5764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD68 #6868CD
analogous
#CD9A68 #CDCD68 #9ACD68
triadic
#CDCD68 #68CDCD #CD68CD
tetradic
#CDCD68 #68CD9A #6868CD #CD689A
square
#CDCD68 #68CD9A #6868CD #CD689A
split-complementary
#CDCD68 #689ACD #9A68CD
monochromatic
#8C8C2E #BABA3E #CDCD68 #DCDC96 #EBEBC4

Accessibility & contrast

On white

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

On black

12.53
#CDCD68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD68
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD68#FFFFFF#000000##000000
##CDCD681.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcd68;
/* rgb */ color: rgb(205, 205, 104);
/* oklch */ color: oklch(82.7% 0.124 108.8);
Tailwind
colors: {
  custom: {
    50: '#dedc96',
    500: '#cdcd68',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd68;
$custom-light: #dedc96;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd68",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 104
  },
  "hsl": {
    "h": 60,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82743,
    "c": 0.12434,
    "h": 108.8
  },
  "luminance": 0.57641
}

Semantic roles & 50–950 ramp

primary
#CDCD68
secondary
#464693
accent
#28BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDCD68

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

Preview Lab → · Contrast checker → · Palette generator →

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