#CDD847#CDD847

#CDD847 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.8% C 0.164 H 113.6°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#CDD847
RGBrgb(205, 216, 71)
HSLhsl(65, 65%, 56%)
HSVhsv(65, 67%, 85%)
CMYKcmyk(5.1%, 0%, 67.1%, 15.3%)
CIE-LABlab(83.20, -21.64, 66.94)
CIE-LCHlch(83.20, 70.35, 107.92°)
OKLaboklab(84.78% -0.0656 0.1502)
OKLCHoklch(84.78% 0.164 113.6)
XYZxyz(50.8714, 62.5468, 15.3529)
Luminance0.6255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD847 #5247D8
analogous
#D89B47 #CDD847 #85D847
triadic
#CDD847 #47CDD8 #D847CD
tetradic
#CDD847 #47D89B #5247D8 #D84785
square
#CDD847 #47D89B #5247D8 #D84785
split-complementary
#CDD847 #4785D8 #9B47D8
monochromatic
#80881D #AFBA27 #CDD847 #DBE379 #E8EDAC

Accessibility & contrast

On white

1.55
#CDD847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#CDD847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD847
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD847#FFFFFF#000000##000000
##CDD8471.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE31
Deuteranopia (green-blind)
#E7D151
Tritanopia (blue-blind)
#DACCBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cdd847;
/* rgb */ color: rgb(205, 216, 71);
/* oklch */ color: oklch(84.8% 0.164 113.6);
Tailwind
colors: {
  custom: {
    50: '#e0e382',
    500: '#cdd847',
    950: '#000000',
  },
}
SCSS
$custom: #cdd847;
$custom-light: #e0e382;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd847",
  "rgb": {
    "r": 205,
    "g": 216,
    "b": 71
  },
  "hsl": {
    "h": 64.552,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84776,
    "c": 0.1639,
    "h": 113.6
  },
  "luminance": 0.62546
}

Semantic roles & 50–950 ramp

primary
#CDD847
secondary
#3C358E
accent
#40E84D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD847

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

Preview Lab → · Contrast checker → · Palette generator →

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