#CDD748#CDD748

#CDD748 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.6% C 0.162 H 113.3°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#CDD748
RGBrgb(205, 215, 72)
HSLhsl(64, 64%, 56%)
HSVhsv(64, 67%, 84%)
CMYKcmyk(4.7%, 0%, 66.5%, 15.7%)
CIE-LABlab(82.94, -21.10, 66.30)
CIE-LCHlch(82.94, 69.57, 107.65°)
OKLaboklab(84.57% -0.064 0.149)
OKLCHoklch(84.57% 0.162 113.3)
XYZxyz(50.6484, 62.0489, 15.4382)
Luminance0.6205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD748 #5248D7
analogous
#D79A48 #CDD748 #86D748
triadic
#CDD748 #48CDD7 #D748CD
tetradic
#CDD748 #48D79A #5248D7 #D74886
square
#CDD748 #48D79A #5248D7 #D74886
split-complementary
#CDD748 #4886D7 #9A48D7
monochromatic
#80871E #AFB929 #CDD748 #DBE27A #E8EDAC

Accessibility & contrast

On white

1.57
#CDD748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.41
#CDD748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD748
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD748#FFFFFF#000000##000000
##CDD7481.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD33
Deuteranopia (green-blind)
#E6D052
Tritanopia (blue-blind)
#DACBBA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cdd748;
/* rgb */ color: rgb(205, 215, 72);
/* oklch */ color: oklch(84.6% 0.162 113.3);
Tailwind
colors: {
  custom: {
    50: '#dfe383',
    500: '#cdd748',
    950: '#000000',
  },
}
SCSS
$custom: #cdd748;
$custom-light: #dfe383;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd748",
  "rgb": {
    "r": 205,
    "g": 215,
    "b": 72
  },
  "hsl": {
    "h": 64.196,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84567,
    "c": 0.16215,
    "h": 113.3
  },
  "luminance": 0.62048
}

Semantic roles & 50–950 ramp

primary
#CDD748
secondary
#3C368D
accent
#41E74C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD748

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

Preview Lab → · Contrast checker → · Palette generator →

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