#DED771#DED771

#DED771 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.4% C 0.125 H 105.2°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#DED771
RGBrgb(222, 215, 113)
HSLhsl(56, 62%, 66%)
HSVhsv(56, 49%, 87%)
CMYKcmyk(0%, 3.2%, 49.1%, 12.9%)
CIE-LABlab(84.65, -11.19, 50.73)
CIE-LCHlch(84.65, 51.95, 102.44°)
OKLaboklab(86.38% -0.0327 0.1203)
OKLCHoklch(86.38% 0.125 105.2)
XYZxyz(57.4067, 65.3244, 25.2044)
Luminance0.6532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED771 #7178DE
analogous
#DEA071 #DED771 #AEDE71
triadic
#DED771 #71DED7 #D771DE
tetradic
#DED771 #71DEA0 #7178DE #DE71AE
square
#DED771 #71DEA0 #7178DE #DE71AE
split-complementary
#DED771 #71AEDE #A071DE
monochromatic
#ADA428 #D2C93F #DED771 #EAE5A3 #F5F3D4

Accessibility & contrast

On white

1.49
#DED771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#DED771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED771
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED771#FFFFFF#000000##000000
##DED7711.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D168
Deuteranopia (green-blind)
#E9D676
Tritanopia (blue-blind)
#ECCBBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ded771;
/* rgb */ color: rgb(222, 215, 113);
/* oklch */ color: oklch(86.4% 0.125 105.2);
Tailwind
colors: {
  custom: {
    50: '#eae39c',
    500: '#ded771',
    950: '#000000',
  },
}
SCSS
$custom: #ded771;
$custom-light: #eae39c;
$custom-dark: #000000;
JSON
{
  "hex": "#ded771",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 56.147,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86379,
    "c": 0.12465,
    "h": 105.2
  },
  "luminance": 0.65323
}

Semantic roles & 50–950 ramp

primary
#DED771
secondary
#454BAF
accent
#27CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED771

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

Preview Lab → · Contrast checker → · Palette generator →

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