#CDCD70#CDCD70

#CDCD70 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 82.8% C 0.116 H 108.7°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#CDCD70
RGBrgb(205, 205, 112)
HSLhsl(60, 48%, 62%)
HSVhsv(60, 45%, 80%)
CMYKcmyk(0%, 0%, 45.4%, 19.6%)
CIE-LABlab(80.63, -13.08, 46.04)
CIE-LCHlch(80.63, 47.86, 105.86°)
OKLaboklab(82.85% -0.0372 0.1101)
OKLCHoklch(82.85% 0.116 108.7)
XYZxyz(49.9338, 57.8128, 23.8547)
Luminance0.5781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD70 #7070CD
analogous
#CD9F70 #CDCD70 #9FCD70
triadic
#CDCD70 #70CDCD #CD70CD
tetradic
#CDCD70 #70CD9F #7070CD #CD709F
square
#CDCD70 #70CD9F #7070CD #CD709F
split-complementary
#CDCD70 #709FCD #9F70CD
monochromatic
#909032 #BDBD43 #CDCD70 #DDDD9D #EDEDCB

Accessibility & contrast

On white

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

On black

12.56
#CDCD70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD70
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD70#FFFFFF#000000##000000
##CDCD701.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC668
Deuteranopia (green-blind)
#DCCA74
Tritanopia (blue-blind)
#D9C3B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcd70;
/* rgb */ color: rgb(205, 205, 112);
/* oklch */ color: oklch(82.8% 0.116 108.7);
Tailwind
colors: {
  custom: {
    50: '#dedc9b',
    500: '#cdcd70',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd70;
$custom-light: #dedc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd70",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 112
  },
  "hsl": {
    "h": 60,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.8285,
    "c": 0.11624,
    "h": 108.7
  },
  "luminance": 0.57812
}

Semantic roles & 50–950 ramp

primary
#CDCD70
secondary
#4B4B97
accent
#2ABB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCD70

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

Preview Lab → · Contrast checker → · Palette generator →

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