#CDCD4A#CDCD4A

#CDCD4A is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.4% C 0.150 H 109.3°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#CDCD4A
RGBrgb(205, 205, 74)
HSLhsl(60, 57%, 55%)
HSVhsv(60, 64%, 80%)
CMYKcmyk(0%, 0%, 63.9%, 19.6%)
CIE-LABlab(80.26, -16.05, 62.75)
CIE-LCHlch(80.26, 64.77, 104.35°)
OKLaboklab(82.43% -0.0496 0.1418)
OKLCHoklch(82.43% 0.15 109.3)
XYZxyz(48.2457, 57.1376, 14.9645)
Luminance0.5714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD4A #4A4ACD
analogous
#CD8C4A #CDCD4A #8CCD4A
triadic
#CDCD4A #4ACDCD #CD4ACD
tetradic
#CDCD4A #4ACD8C #4A4ACD #CD4A8C
square
#CDCD4A #4ACD8C #4A4ACD #CD4A8C
split-complementary
#CDCD4A #4A8CCD #8C4ACD
monochromatic
#7B7B22 #ABAB2F #CDCD4A #DADA7A #E7E7AA

Accessibility & contrast

On white

1.69
#CDCD4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#CDCD4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD4A
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD4A#FFFFFF#000000##000000
##CDCD4A1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC539
Deuteranopia (green-blind)
#DEC952
Tritanopia (blue-blind)
#DBC1B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcd4a;
/* rgb */ color: rgb(205, 205, 74);
/* oklch */ color: oklch(82.4% 0.150 109.3);
Tailwind
colors: {
  custom: {
    50: '#dfdc83',
    500: '#cdcd4a',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd4a;
$custom-light: #dfdc83;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd4a",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 74
  },
  "hsl": {
    "h": 60,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82427,
    "c": 0.15024,
    "h": 109.3
  },
  "luminance": 0.57136
}

Semantic roles & 50–950 ramp

primary
#CDCD4A
secondary
#383883
accent
#48E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDCD4A

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

Preview Lab → · Contrast checker → · Palette generator →

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