#CDCD47#CDCD47

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

Color values

HEX#CDCD47
RGBrgb(205, 205, 71)
HSLhsl(60, 57%, 54%)
HSVhsv(60, 65%, 80%)
CMYKcmyk(0%, 0%, 65.4%, 19.6%)
CIE-LABlab(80.23, -16.23, 63.92)
CIE-LCHlch(80.23, 65.95, 104.24°)
OKLaboklab(82.4% -0.0504 0.1438)
OKLCHoklch(82.4% 0.152 109.3)
XYZxyz(48.1471, 57.0981, 14.4448)
Luminance0.5710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD47 #4747CD
analogous
#CD8A47 #CDCD47 #8ACD47
triadic
#CDCD47 #47CDCD #CD47CD
tetradic
#CDCD47 #47CD8A #4747CD #CD478A
square
#CDCD47 #47CD8A #4747CD #CD478A
split-complementary
#CDCD47 #478ACD #8A47CD
monochromatic
#797921 #A9A92E #CDCD47 #DADA77 #E7E7A7

Accessibility & contrast

On white

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

On black

12.42
#CDCD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD47
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD47#FFFFFF#000000##000000
##CDCD471.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC534
Deuteranopia (green-blind)
#DFC950
Tritanopia (blue-blind)
#DBC0B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcd47;
/* rgb */ color: rgb(205, 205, 71);
/* oklch */ color: oklch(82.4% 0.152 109.3);
Tailwind
colors: {
  custom: {
    50: '#dfdc81',
    500: '#cdcd47',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd47;
$custom-light: #dfdc81;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd47",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 71
  },
  "hsl": {
    "h": 60,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82402,
    "c": 0.15241,
    "h": 109.3
  },
  "luminance": 0.57097
}

Semantic roles & 50–950 ramp

primary
#CDCD47
secondary
#373781
accent
#47E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDCD47

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

Preview Lab → · Contrast checker → · Palette generator →

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