#CDD548#CDD548

#CDD548 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.1% C 0.160 H 112.5°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#CDD548
RGBrgb(205, 213, 72)
HSLhsl(63, 63%, 56%)
HSVhsv(63, 66%, 84%)
CMYKcmyk(3.8%, 0%, 66.2%, 16.5%)
CIE-LABlab(82.40, -20.12, 65.74)
CIE-LCHlch(82.40, 68.75, 107.02°)
OKLaboklab(84.13% -0.0613 0.1478)
OKLCHoklch(84.13% 0.16 112.5)
XYZxyz(50.1422, 61.0366, 15.2695)
Luminance0.6104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD548 #5048D5
analogous
#D59648 #CDD548 #86D548
triadic
#CDD548 #48CDD5 #D548CD
tetradic
#CDD548 #48D596 #5048D5 #D54886
square
#CDD548 #48D596 #5048D5 #D54886
split-complementary
#CDD548 #4886D5 #9648D5
monochromatic
#7E841E #AEB62A #CDD548 #DBE07A #E8ECAC

Accessibility & contrast

On white

1.59
#CDD548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#CDD548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD548
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD548#FFFFFF#000000##000000
##CDD5481.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB34
Deuteranopia (green-blind)
#E5CF52
Tritanopia (blue-blind)
#DAC9B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd548;
/* rgb */ color: rgb(205, 213, 72);
/* oklch */ color: oklch(84.1% 0.160 112.5);
Tailwind
colors: {
  custom: {
    50: '#dfe183',
    500: '#cdd548',
    950: '#000000',
  },
}
SCSS
$custom: #cdd548;
$custom-light: #dfe183;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd548",
  "rgb": {
    "r": 205,
    "g": 213,
    "b": 72
  },
  "hsl": {
    "h": 63.404,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84134,
    "c": 0.16001,
    "h": 112.5
  },
  "luminance": 0.61036
}

Semantic roles & 50–950 ramp

primary
#CDD548
secondary
#3B368B
accent
#42E64B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD548

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

Preview Lab → · Contrast checker → · Palette generator →

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