#CDC847#CDC847

#CDC847 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.3% C 0.147 H 107.1°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CDC847
RGBrgb(205, 200, 71)
HSLhsl(58, 57%, 54%)
HSVhsv(58, 65%, 80%)
CMYKcmyk(0%, 2.4%, 65.4%, 19.6%)
CIE-LABlab(78.89, -13.72, 62.54)
CIE-LCHlch(78.89, 64.03, 102.37°)
OKLaboklab(81.33% -0.0434 0.1409)
OKLCHoklch(81.33% 0.147 107.1)
XYZxyz(46.9701, 54.7442, 14.0525)
Luminance0.5474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC847 #474CCD
analogous
#CD8547 #CDC847 #8FCD47
triadic
#CDC847 #47CDC8 #C847CD
tetradic
#CDC847 #47CD85 #474CCD #CD478F
square
#CDC847 #47CD85 #474CCD #CD478F
split-complementary
#CDC847 #478FCD #8547CD
monochromatic
#797521 #A9A42E #CDC847 #DAD677 #E7E5A7

Accessibility & contrast

On white

1.76
#CDC847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CDC847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC847
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC847#FFFFFF#000000##000000
##CDC8471.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C135
Deuteranopia (green-blind)
#DBC64F
Tritanopia (blue-blind)
#DBBBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc847;
/* rgb */ color: rgb(205, 200, 71);
/* oklch */ color: oklch(81.3% 0.147 107.1);
Tailwind
colors: {
  custom: {
    50: '#dfd881',
    500: '#cdc847',
    950: '#000000',
  },
}
SCSS
$custom: #cdc847;
$custom-light: #dfd881;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc847",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 71
  },
  "hsl": {
    "h": 57.761,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81333,
    "c": 0.14743,
    "h": 107.1
  },
  "luminance": 0.54743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC847

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

Preview Lab → · Contrast checker → · Palette generator →

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