#CDC747#CDC747

#CDC747 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.146 H 106.6°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CDC747
RGBrgb(205, 199, 71)
HSLhsl(57, 57%, 54%)
HSVhsv(57, 65%, 80%)
CMYKcmyk(0%, 2.9%, 65.4%, 19.6%)
CIE-LABlab(78.63, -13.22, 62.26)
CIE-LCHlch(78.63, 63.65, 101.98°)
OKLaboklab(81.12% -0.0419 0.1403)
OKLCHoklch(81.12% 0.146 106.6)
XYZxyz(46.7393, 54.2825, 13.9755)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC747 #474DCD
analogous
#CD8447 #CDC747 #90CD47
triadic
#CDC747 #47CDC7 #C747CD
tetradic
#CDC747 #47CD84 #474DCD #CD4790
square
#CDC747 #47CD84 #474DCD #CD4790
split-complementary
#CDC747 #4790CD #8447CD
monochromatic
#797521 #A9A32E #CDC747 #DAD677 #E7E4A7

Accessibility & contrast

On white

1.77
#CDC747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#CDC747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC747
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC747#FFFFFF#000000##000000
##CDC7471.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C036
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#DBBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc747;
/* rgb */ color: rgb(205, 199, 71);
/* oklch */ color: oklch(81.1% 0.146 106.6);
Tailwind
colors: {
  custom: {
    50: '#dfd781',
    500: '#cdc747',
    950: '#000000',
  },
}
SCSS
$custom: #cdc747;
$custom-light: #dfd781;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc747",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 71
  },
  "hsl": {
    "h": 57.313,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81119,
    "c": 0.14647,
    "h": 106.6
  },
  "luminance": 0.54281
}

Semantic roles & 50–950 ramp

primary
#CDC747
secondary
#373A81
accent
#4EE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC747

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

Preview Lab → · Contrast checker → · Palette generator →

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