#DED248#DED248

#DED248 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.9% C 0.154 H 104.3°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#DED248
RGBrgb(222, 210, 72)
HSLhsl(55, 69%, 58%)
HSVhsv(55, 68%, 87%)
CMYKcmyk(0%, 5.4%, 67.6%, 12.9%)
CIE-LABlab(82.96, -11.57, 66.76)
CIE-LCHlch(82.96, 67.75, 99.84°)
OKLaboklab(84.92% -0.0382 0.1495)
OKLCHoklch(84.92% 0.154 104.3)
XYZxyz(54.3427, 62.0927, 15.2522)
Luminance0.6209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED248 #4854DE
analogous
#DE8748 #DED248 #9FDE48
triadic
#DED248 #48DED2 #D248DE
tetradic
#DED248 #48DE87 #4854DE #DE489F
square
#DED248 #48DE87 #4854DE #DE489F
split-complementary
#DED248 #489FDE #8748DE
monochromatic
#91881A #C5B824 #DED248 #E7DF7C #F1EBB0

Accessibility & contrast

On white

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

On black

13.42
#DED248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED248
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED248#FFFFFF#000000##000000
##DED2481.001.5713.4213.42
#FFFFFF1.571.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB34
Deuteranopia (green-blind)
#E8D251
Tritanopia (blue-blind)
#EEC4B6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ded248;
/* rgb */ color: rgb(222, 210, 72);
/* oklch */ color: oklch(84.9% 0.154 104.3);
Tailwind
colors: {
  custom: {
    50: '#ecdf83',
    500: '#ded248',
    950: '#000000',
  },
}
SCSS
$custom: #ded248;
$custom-light: #ecdf83;
$custom-dark: #000000;
JSON
{
  "hex": "#ded248",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 55.2,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84916,
    "c": 0.15427,
    "h": 104.3
  },
  "luminance": 0.62091
}

Semantic roles & 50–950 ramp

primary
#DED248
secondary
#343C96
accent
#4AEC3C
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DED248

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

Preview Lab → · Contrast checker → · Palette generator →

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