#CDD947#CDD947

#CDD947 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.0% C 0.165 H 114.0°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#CDD947
RGBrgb(205, 217, 71)
HSLhsl(65, 66%, 56%)
HSVhsv(65, 67%, 85%)
CMYKcmyk(5.5%, 0%, 67.3%, 14.9%)
CIE-LABlab(83.47, -22.13, 67.22)
CIE-LCHlch(83.47, 70.77, 108.22°)
OKLaboklab(84.99% -0.067 0.1508)
OKLCHoklch(84.99% 0.165 114)
XYZxyz(51.1284, 63.0608, 15.4386)
Luminance0.6306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD947 #5347D9
analogous
#D99C47 #CDD947 #84D947
triadic
#CDD947 #47CDD9 #D947CD
tetradic
#CDD947 #47D99C #5347D9 #D94784
square
#CDD947 #47D99C #5347D9 #D94784
split-complementary
#CDD947 #4784D9 #9C47D9
monochromatic
#80891C #B0BC27 #CDD947 #DBE37A #E9EEAC

Accessibility & contrast

On white

1.54
#CDD947 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#CDD947 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD947
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD947#FFFFFF#000000##000000
##CDD9471.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF31
Deuteranopia (green-blind)
#E8D152
Tritanopia (blue-blind)
#DACDBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd947;
/* rgb */ color: rgb(205, 217, 71);
/* oklch */ color: oklch(85.0% 0.165 114.0);
Tailwind
colors: {
  custom: {
    50: '#e0e482',
    500: '#cdd947',
    950: '#000000',
  },
}
SCSS
$custom: #cdd947;
$custom-light: #e0e482;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd947",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 71
  },
  "hsl": {
    "h": 64.932,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.84993,
    "c": 0.16498,
    "h": 114
  },
  "luminance": 0.6306
}

Semantic roles & 50–950 ramp

primary
#CDD947
secondary
#3C358F
accent
#3FE94D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD947

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

Preview Lab → · Contrast checker → · Palette generator →

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