#CDCC47#CDCC47

#CDCC47 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.2% C 0.151 H 108.9°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#CDCC47
RGBrgb(205, 204, 71)
HSLhsl(60, 57%, 54%)
HSVhsv(60, 65%, 80%)
CMYKcmyk(0%, 0.5%, 65.4%, 19.6%)
CIE-LABlab(79.97, -15.73, 63.64)
CIE-LCHlch(79.97, 65.56, 103.88°)
OKLaboklab(82.19% -0.049 0.1432)
OKLCHoklch(82.19% 0.151 108.9)
XYZxyz(47.9086, 56.6212, 14.3653)
Luminance0.5662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC47 #4748CD
analogous
#CD8947 #CDCC47 #8BCD47
triadic
#CDCC47 #47CDCC #CC47CD
tetradic
#CDCC47 #47CD89 #4748CD #CD478B
square
#CDCC47 #47CD89 #4748CD #CD478B
split-complementary
#CDCC47 #478BCD #8947CD
monochromatic
#797821 #A9A82E #CDCC47 #DAD977 #E7E7A7

Accessibility & contrast

On white

1.70
#CDCC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#CDCC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC47
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC47#FFFFFF#000000##000000
##CDCC471.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC434
Deuteranopia (green-blind)
#DEC850
Tritanopia (blue-blind)
#DBBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcc47;
/* rgb */ color: rgb(205, 204, 71);
/* oklch */ color: oklch(82.2% 0.151 108.9);
Tailwind
colors: {
  custom: {
    50: '#dfdb81',
    500: '#cdcc47',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc47;
$custom-light: #dfdb81;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc47",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 59.552,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82188,
    "c": 0.1514,
    "h": 108.9
  },
  "luminance": 0.5662
}

Semantic roles & 50–950 ramp

primary
#CDCC47
secondary
#373881
accent
#48E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCC47

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

Preview Lab → · Contrast checker → · Palette generator →

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