#CDCD4B#CDCD4B

#CDCD4B is a very light, vivid yellow. Relative luminance 0.572; 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#CDCD4B
RGBrgb(205, 205, 75)
HSLhsl(60, 57%, 55%)
HSVhsv(60, 63%, 80%)
CMYKcmyk(0%, 0%, 63.4%, 19.6%)
CIE-LABlab(80.26, -15.99, 62.35)
CIE-LCHlch(80.26, 64.37, 104.38°)
OKLaboklab(82.44% -0.0493 0.1411)
OKLCHoklch(82.44% 0.15 109.3)
XYZxyz(48.2797, 57.1511, 15.1433)
Luminance0.5715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD4B #4B4BCD
analogous
#CD8C4B #CDCD4B #8CCD4B
triadic
#CDCD4B #4BCDCD #CD4BCD
tetradic
#CDCD4B #4BCD8C #4B4BCD #CD4B8C
square
#CDCD4B #4BCD8C #4B4BCD #CD4B8C
split-complementary
#CDCD4B #4B8CCD #8C4BCD
monochromatic
#7B7B22 #ABAB30 #CDCD4B #DADA7B #E8E8AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCD4B#FFFFFF#000000##000000
##CDCD4B1.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)
#DDC53A
Deuteranopia (green-blind)
#DEC953
Tritanopia (blue-blind)
#DBC1B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcd4b;
/* rgb */ color: rgb(205, 205, 75);
/* oklch */ color: oklch(82.4% 0.150 109.3);
Tailwind
colors: {
  custom: {
    50: '#dfdc84',
    500: '#cdcd4b',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd4b;
$custom-light: #dfdc84;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd4b",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 75
  },
  "hsl": {
    "h": 60,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82436,
    "c": 0.14951,
    "h": 109.3
  },
  "luminance": 0.5715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCD4B

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

Preview Lab → · Contrast checker → · Palette generator →

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