#CDD348#CDD348

#CDD348 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.7% C 0.158 H 111.8°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#CDD348
RGBrgb(205, 211, 72)
HSLhsl(63, 61%, 55%)
HSVhsv(63, 66%, 83%)
CMYKcmyk(2.8%, 0%, 65.9%, 17.3%)
CIE-LABlab(81.86, -19.14, 65.19)
CIE-LCHlch(81.86, 67.94, 106.36°)
OKLaboklab(83.7% -0.0585 0.1467)
OKLCHoklch(83.7% 0.158 111.8)
XYZxyz(49.6423, 60.0367, 15.1028)
Luminance0.6004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD348 #4E48D3
analogous
#D39348 #CDD348 #87D348
triadic
#CDD348 #48CDD3 #D348CD
tetradic
#CDD348 #48D393 #4E48D3 #D34887
square
#CDD348 #48D393 #4E48D3 #D34887
split-complementary
#CDD348 #4887D3 #9348D3
monochromatic
#7D811F #ADB32B #CDD348 #DADF79 #E8EBAB

Accessibility & contrast

On white

1.61
#CDD348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#CDD348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD348
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD348#FFFFFF#000000##000000
##CDD3481.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA34
Deuteranopia (green-blind)
#E3CD52
Tritanopia (blue-blind)
#DBC7B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd348;
/* rgb */ color: rgb(205, 211, 72);
/* oklch */ color: oklch(83.7% 0.158 111.8);
Tailwind
colors: {
  custom: {
    50: '#dfe082',
    500: '#cdd348',
    950: '#000000',
  },
}
SCSS
$custom: #cdd348;
$custom-light: #dfe082;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd348",
  "rgb": {
    "r": 205,
    "g": 211,
    "b": 72
  },
  "hsl": {
    "h": 62.59,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83702,
    "c": 0.1579,
    "h": 111.8
  },
  "luminance": 0.60036
}

Semantic roles & 50–950 ramp

primary
#CDD348
secondary
#3A3789
accent
#43E44A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD348

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

Preview Lab → · Contrast checker → · Palette generator →

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