#CDCD4D#CDCD4D

#CDCD4D is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.5% C 0.148 H 109.2°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#CDCD4D
RGBrgb(205, 205, 77)
HSLhsl(60, 56%, 55%)
HSVhsv(60, 62%, 80%)
CMYKcmyk(0%, 0%, 62.4%, 19.6%)
CIE-LABlab(80.28, -15.87, 61.55)
CIE-LCHlch(80.28, 63.56, 104.45°)
OKLaboklab(82.45% -0.0488 0.1397)
OKLCHoklch(82.45% 0.148 109.2)
XYZxyz(48.3492, 57.1789, 15.5095)
Luminance0.5718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD4D #4D4DCD
analogous
#CD8D4D #CDCD4D #8DCD4D
triadic
#CDCD4D #4DCDCD #CD4DCD
tetradic
#CDCD4D #4DCD8D #4D4DCD #CD4D8D
square
#CDCD4D #4DCD8D #4D4DCD #CD4D8D
split-complementary
#CDCD4D #4D8DCD #8D4DCD
monochromatic
#7D7D23 #ACAC30 #CDCD4D #DADA7D #E8E8AD

Accessibility & contrast

On white

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

On black

12.44
#CDCD4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD4D
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD4D#FFFFFF#000000##000000
##CDCD4D1.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcd4d;
/* rgb */ color: rgb(205, 205, 77);
/* oklch */ color: oklch(82.5% 0.148 109.2);
Tailwind
colors: {
  custom: {
    50: '#dfdc85',
    500: '#cdcd4d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd4d;
$custom-light: #dfdc85;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd4d",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 77
  },
  "hsl": {
    "h": 60,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82453,
    "c": 0.148,
    "h": 109.2
  },
  "luminance": 0.57178
}

Semantic roles & 50–950 ramp

primary
#CDCD4D
secondary
#3A3A84
accent
#48DF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDCD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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