#CDD248#CDD248

#CDD248 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.5% C 0.157 H 111.4°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#CDD248
RGBrgb(205, 210, 72)
HSLhsl(62, 61%, 55%)
HSVhsv(62, 66%, 82%)
CMYKcmyk(2.4%, 0%, 65.7%, 17.6%)
CIE-LABlab(81.59, -18.65, 64.92)
CIE-LCHlch(81.59, 67.54, 106.03°)
OKLaboklab(83.49% -0.0571 0.1461)
OKLCHoklch(83.49% 0.157 111.4)
XYZxyz(49.3946, 59.5414, 15.0203)
Luminance0.5954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD248 #4D48D2
analogous
#D29248 #CDD248 #88D248
triadic
#CDD248 #48CDD2 #D248CD
tetradic
#CDD248 #48D292 #4D48D2 #D24888
square
#CDD248 #48D292 #4D48D2 #D24888
split-complementary
#CDD248 #4888D2 #9248D2
monochromatic
#7D8020 #ACB12C #CDD248 #DADE79 #E8EAAA

Accessibility & contrast

On white

1.63
#CDD248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#CDD248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD248
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD248#FFFFFF#000000##000000
##CDD2481.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C934
Deuteranopia (green-blind)
#E2CD51
Tritanopia (blue-blind)
#DBC6B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd248;
/* rgb */ color: rgb(205, 210, 72);
/* oklch */ color: oklch(83.5% 0.157 111.4);
Tailwind
colors: {
  custom: {
    50: '#dfdf82',
    500: '#cdd248',
    950: '#000000',
  },
}
SCSS
$custom: #cdd248;
$custom-light: #dfdf82;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd248",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 62.174,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83486,
    "c": 0.15686,
    "h": 111.4
  },
  "luminance": 0.5954
}

Semantic roles & 50–950 ramp

primary
#CDD248
secondary
#3A3787
accent
#44E44A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD248

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

Preview Lab → · Contrast checker → · Palette generator →

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