#DED278#DED278

#DED278 is a very light, moderate yellow. Relative luminance 0.630; OKLCH L 85.4% C 0.112 H 101.7°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#DED278
RGBrgb(222, 210, 120)
HSLhsl(53, 61%, 67%)
HSVhsv(53, 46%, 87%)
CMYKcmyk(0%, 5.4%, 45.9%, 12.9%)
CIE-LABlab(83.43, -8.02, 45.87)
CIE-LCHlch(83.43, 46.57, 99.92°)
OKLaboklab(85.44% -0.0229 0.1101)
OKLCHoklch(85.44% 0.112 101.7)
XYZxyz(56.5624, 62.9806, 26.9426)
Luminance0.6298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED278 #7884DE
analogous
#DE9F78 #DED278 #B7DE78
triadic
#DED278 #78DED2 #D278DE
tetradic
#DED278 #78DE9F #7884DE #DE78B7
square
#DED278 #78DE9F #7884DE #DE78B7
split-complementary
#DED278 #78B7DE #9F78DE
monochromatic
#B0A12B #D2C247 #DED278 #EAE2A9 #F6F3DA

Accessibility & contrast

On white

1.54
#DED278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#DED278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED278
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED278#FFFFFF#000000##000000
##DED2781.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD71
Deuteranopia (green-blind)
#E5D27C
Tritanopia (blue-blind)
#EBC7BD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ded278;
/* rgb */ color: rgb(222, 210, 120);
/* oklch */ color: oklch(85.4% 0.112 101.7);
Tailwind
colors: {
  custom: {
    50: '#eadfa0',
    500: '#ded278',
    950: '#000000',
  },
}
SCSS
$custom: #ded278;
$custom-light: #eadfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#ded278",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 120
  },
  "hsl": {
    "h": 52.941,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8544,
    "c": 0.11245,
    "h": 101.7
  },
  "luminance": 0.62979
}

Semantic roles & 50–950 ramp

primary
#DED278
secondary
#4854B2
accent
#31C81D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DED278

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

Preview Lab → · Contrast checker → · Palette generator →

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