#DED271#DED271

#DED271 is a very light, moderate yellow. Relative luminance 0.628; OKLCH L 85.3% C 0.120 H 102.3°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#DED271
RGBrgb(222, 210, 113)
HSLhsl(53, 62%, 66%)
HSVhsv(53, 49%, 87%)
CMYKcmyk(0%, 5.4%, 49.1%, 12.9%)
CIE-LABlab(83.35, -8.67, 49.17)
CIE-LCHlch(83.35, 49.93, 100.00°)
OKLaboklab(85.34% -0.0254 0.1169)
OKLCHoklch(85.34% 0.12 102.3)
XYZxyz(56.1530, 62.8169, 24.7865)
Luminance0.6281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED271 #717DDE
analogous
#DE9B71 #DED271 #B4DE71
triadic
#DED271 #71DED2 #D271DE
tetradic
#DED271 #71DE9B #717DDE #DE71B4
square
#DED271 #71DE9B #717DDE #DE71B4
split-complementary
#DED271 #71B4DE #9B71DE
monochromatic
#AD9E28 #D2C23F #DED271 #EAE2A3 #F5F1D4

Accessibility & contrast

On white

1.55
#DED271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#DED271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED271
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED271#FFFFFF#000000##000000
##DED2711.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC69
Deuteranopia (green-blind)
#E5D275
Tritanopia (blue-blind)
#ECC6BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ded271;
/* rgb */ color: rgb(222, 210, 113);
/* oklch */ color: oklch(85.3% 0.120 102.3);
Tailwind
colors: {
  custom: {
    50: '#eadf9c',
    500: '#ded271',
    950: '#000000',
  },
}
SCSS
$custom: #ded271;
$custom-light: #eadf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ded271",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 53.394,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85343,
    "c": 0.1196,
    "h": 102.3
  },
  "luminance": 0.62815
}

Semantic roles & 50–950 ramp

primary
#DED271
secondary
#4550AF
accent
#2FCA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED271

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

Preview Lab → · Contrast checker → · Palette generator →

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