#DED862#DED862

#DED862 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.4% C 0.140 H 106.3°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#DED862
RGBrgb(222, 216, 98)
HSLhsl(57, 65%, 63%)
HSVhsv(57, 56%, 87%)
CMYKcmyk(0%, 2.7%, 55.9%, 12.9%)
CIE-LABlab(84.75, -12.92, 57.79)
CIE-LCHlch(84.75, 59.21, 102.60°)
OKLaboklab(86.41% -0.0392 0.1341)
OKLCHoklch(86.41% 0.14 106.3)
XYZxyz(56.8864, 65.5249, 21.2039)
Luminance0.6552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED862 #6268DE
analogous
#DE9A62 #DED862 #A6DE62
triadic
#DED862 #62DED8 #D862DE
tetradic
#DED862 #62DE9A #6268DE #DE62A6
square
#DED862 #62DE9A #6268DE #DE62A6
split-complementary
#DED862 #62A6DE #9A62DE
monochromatic
#A39D22 #D3CB2F #DED862 #E9E595 #F3F1C7

Accessibility & contrast

On white

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

On black

14.10
#DED862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED862
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED862#FFFFFF#000000##000000
##DED8621.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D156
Deuteranopia (green-blind)
#EBD668
Tritanopia (blue-blind)
#ECCBBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded862;
/* rgb */ color: rgb(222, 216, 98);
/* oklch */ color: oklch(86.4% 0.140 106.3);
Tailwind
colors: {
  custom: {
    50: '#ebe392',
    500: '#ded862',
    950: '#000000',
  },
}
SCSS
$custom: #ded862;
$custom-light: #ebe392;
$custom-dark: #000000;
JSON
{
  "hex": "#ded862",
  "rgb": {
    "r": 222,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 57.097,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.8641,
    "c": 0.13969,
    "h": 106.3
  },
  "luminance": 0.65523
}

Semantic roles & 50–950 ramp

primary
#DED862
secondary
#3E43A6
accent
#21CD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DED862

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

Preview Lab → · Contrast checker → · Palette generator →

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