#CDD848#CDD848

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

Color values

HEX#CDD848
RGBrgb(205, 216, 72)
HSLhsl(65, 65%, 56%)
HSVhsv(65, 67%, 85%)
CMYKcmyk(5.1%, 0%, 66.7%, 15.3%)
CIE-LABlab(83.21, -21.59, 66.57)
CIE-LCHlch(83.21, 69.98, 107.97°)
OKLaboklab(84.78% -0.0654 0.1496)
OKLCHoklch(84.78% 0.163 113.6)
XYZxyz(50.9038, 62.5598, 15.5233)
Luminance0.6256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD848 #5348D8
analogous
#D89B48 #CDD848 #85D848
triadic
#CDD848 #48CDD8 #D848CD
tetradic
#CDD848 #48D89B #5348D8 #D84885
square
#CDD848 #48D89B #5348D8 #D84885
split-complementary
#CDD848 #4885D8 #9B48D8
monochromatic
#80891D #B0BB28 #CDD848 #DBE37A #E9EEAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDD848#FFFFFF#000000##000000
##CDD8481.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)
#E7CE33
Deuteranopia (green-blind)
#E7D152
Tritanopia (blue-blind)
#DACCBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cdd848;
/* rgb */ color: rgb(205, 216, 72);
/* oklch */ color: oklch(84.8% 0.163 113.6);
Tailwind
colors: {
  custom: {
    50: '#dfe383',
    500: '#cdd848',
    950: '#000000',
  },
}
SCSS
$custom: #cdd848;
$custom-light: #dfe383;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd848",
  "rgb": {
    "r": 205,
    "g": 216,
    "b": 72
  },
  "hsl": {
    "h": 64.583,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.84784,
    "c": 0.16322,
    "h": 113.6
  },
  "luminance": 0.62559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDD848

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

Preview Lab → · Contrast checker → · Palette generator →

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