#CDD948#CDD948

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

Color values

HEX#CDD948
RGBrgb(205, 217, 72)
HSLhsl(65, 66%, 57%)
HSVhsv(65, 67%, 85%)
CMYKcmyk(5.5%, 0%, 66.8%, 14.9%)
CIE-LABlab(83.48, -22.07, 66.85)
CIE-LCHlch(83.48, 70.40, 108.27°)
OKLaboklab(85% -0.0667 0.1501)
OKLCHoklch(85% 0.164 114)
XYZxyz(51.1608, 63.0737, 15.6090)
Luminance0.6307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD948 #5448D9
analogous
#D99D48 #CDD948 #84D948
triadic
#CDD948 #48CDD9 #D948CD
tetradic
#CDD948 #48D99D #5448D9 #D94884
square
#CDD948 #48D99D #5448D9 #D94884
split-complementary
#CDD948 #4884D9 #9D48D9
monochromatic
#818A1D #B0BD27 #CDD948 #DBE47B #E9EEAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDD948#FFFFFF#000000##000000
##CDD9481.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)
#E8CF32
Deuteranopia (green-blind)
#E8D152
Tritanopia (blue-blind)
#DACDBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd948;
/* rgb */ color: rgb(205, 217, 72);
/* oklch */ color: oklch(85.0% 0.164 114.0);
Tailwind
colors: {
  custom: {
    50: '#e0e483',
    500: '#cdd948',
    950: '#000000',
  },
}
SCSS
$custom: #cdd948;
$custom-light: #e0e483;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd948",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 72
  },
  "hsl": {
    "h": 64.966,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.85001,
    "c": 0.1643,
    "h": 114
  },
  "luminance": 0.63073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDD948

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

Preview Lab → · Contrast checker → · Palette generator →

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