#CDD954#CDD954

#CDD954 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.1% C 0.156 H 114.1°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#CDD954
RGBrgb(205, 217, 84)
HSLhsl(65, 64%, 59%)
HSVhsv(65, 61%, 85%)
CMYKcmyk(5.5%, 0%, 61.3%, 14.9%)
CIE-LABlab(83.57, -21.32, 62.16)
CIE-LCHlch(83.57, 65.72, 108.93°)
OKLaboklab(85.1% -0.0634 0.142)
OKLCHoklch(85.1% 0.156 114.1)
XYZxyz(51.5912, 63.2458, 17.8757)
Luminance0.6324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD954 #6054D9
analogous
#D9A354 #CDD954 #8BD954
triadic
#CDD954 #54CDD9 #D954CD
tetradic
#CDD954 #54D9A3 #6054D9 #D9548B
square
#CDD954 #54D9A3 #6054D9 #D9548B
split-complementary
#CDD954 #548BD9 #A354D9
monochromatic
#889220 #B6C42C #CDD954 #DCE486 #EAEFB8

Accessibility & contrast

On white

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

On black

13.65
#CDD954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD954
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD954#FFFFFF#000000##000000
##CDD9541.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF44
Deuteranopia (green-blind)
#E7D25D
Tritanopia (blue-blind)
#D9CDBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd954;
/* rgb */ color: rgb(205, 217, 84);
/* oklch */ color: oklch(85.1% 0.156 114.1);
Tailwind
colors: {
  custom: {
    50: '#dfe48a',
    500: '#cdd954',
    950: '#000000',
  },
}
SCSS
$custom: #cdd954;
$custom-light: #dfe48a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd954",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 84
  },
  "hsl": {
    "h": 65.414,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85102,
    "c": 0.15553,
    "h": 114.1
  },
  "luminance": 0.63245
}

Semantic roles & 50–950 ramp

primary
#CDD954
secondary
#423A97
accent
#41E750
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD954

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

Preview Lab → · Contrast checker → · Palette generator →

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