#CDCD67#CDCD67

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

Color values

HEX#CDCD67
RGBrgb(205, 205, 103)
HSLhsl(60, 50%, 60%)
HSVhsv(60, 50%, 80%)
CMYKcmyk(0%, 0%, 49.8%, 19.6%)
CIE-LABlab(80.53, -13.91, 50.24)
CIE-LCHlch(80.53, 52.13, 105.47°)
OKLaboklab(82.73% -0.0405 0.1186)
OKLCHoklch(82.73% 0.125 108.9)
XYZxyz(49.4575, 57.6222, 21.3462)
Luminance0.5762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD67 #6767CD
analogous
#CD9A67 #CDCD67 #9ACD67
triadic
#CDCD67 #67CDCD #CD67CD
tetradic
#CDCD67 #67CD9A #6767CD #CD679A
square
#CDCD67 #67CD9A #6767CD #CD679A
split-complementary
#CDCD67 #679ACD #9A67CD
monochromatic
#8C8C2E #BABA3D #CDCD67 #DCDC95 #EBEBC3

Accessibility & contrast

On white

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

On black

12.52
#CDCD67 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD67
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD67#FFFFFF#000000##000000
##CDCD671.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcd67;
/* rgb */ color: rgb(205, 205, 103);
/* oklch */ color: oklch(82.7% 0.125 108.9);
Tailwind
colors: {
  custom: {
    50: '#dedc95',
    500: '#cdcd67',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd67;
$custom-light: #dedc95;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd67",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 103
  },
  "hsl": {
    "h": 60,
    "s": 50.495,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82731,
    "c": 0.12532,
    "h": 108.9
  },
  "luminance": 0.57621
}

Semantic roles & 50–950 ramp

primary
#CDCD67
secondary
#464692
accent
#28BE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDCD67

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

Preview Lab → · Contrast checker → · Palette generator →

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