#DED851#DED851

#DED851 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.2% C 0.153 H 106.8°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#DED851
RGBrgb(222, 216, 81)
HSLhsl(57, 68%, 59%)
HSVhsv(57, 64%, 87%)
CMYKcmyk(0%, 2.7%, 63.5%, 12.9%)
CIE-LABlab(84.61, -14.06, 64.89)
CIE-LCHlch(84.61, 66.40, 102.23°)
OKLaboklab(86.25% -0.0443 0.1469)
OKLCHoklch(86.25% 0.153 106.8)
XYZxyz(56.1672, 65.2372, 17.4164)
Luminance0.6523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED851 #5157DE
analogous
#DE9251 #DED851 #9EDE51
triadic
#DED851 #51DED8 #D851DE
tetradic
#DED851 #51DE92 #5157DE #DE519E
square
#DED851 #51DE92 #5157DE #DE519E
split-complementary
#DED851 #519EDE #9251DE
monochromatic
#98931D #CBC427 #DED851 #E8E484 #F2EFB8

Accessibility & contrast

On white

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

On black

14.05
#DED851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED851
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED851#FFFFFF#000000##000000
##DED8511.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D040
Deuteranopia (green-blind)
#ECD659
Tritanopia (blue-blind)
#EDCBBC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ded851;
/* rgb */ color: rgb(222, 216, 81);
/* oklch */ color: oklch(86.2% 0.153 106.8);
Tailwind
colors: {
  custom: {
    50: '#ebe388',
    500: '#ded851',
    950: '#000000',
  },
}
SCSS
$custom: #ded851;
$custom-light: #ebe388;
$custom-dark: #000000;
JSON
{
  "hex": "#ded851",
  "rgb": {
    "r": 222,
    "g": 216,
    "b": 81
  },
  "hsl": {
    "h": 57.447,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86245,
    "c": 0.15346,
    "h": 106.8
  },
  "luminance": 0.65235
}

Semantic roles & 50–950 ramp

primary
#DED851
secondary
#373C9C
accent
#44EB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED851

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

Preview Lab → · Contrast checker → · Palette generator →

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