#DED751#DED751

#DED751 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.0% C 0.153 H 106.3°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#DED751
RGBrgb(222, 215, 81)
HSLhsl(57, 68%, 59%)
HSVhsv(57, 64%, 87%)
CMYKcmyk(0%, 3.2%, 63.5%, 12.9%)
CIE-LABlab(84.34, -13.56, 64.62)
CIE-LCHlch(84.34, 66.02, 101.86°)
OKLaboklab(86.04% -0.0429 0.1464)
OKLCHoklch(86.04% 0.153 106.3)
XYZxyz(55.9118, 64.7264, 17.3312)
Luminance0.6472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED751 #5158DE
analogous
#DE9051 #DED751 #9FDE51
triadic
#DED751 #51DED7 #D751DE
tetradic
#DED751 #51DE90 #5158DE #DE519F
square
#DED751 #51DE90 #5158DE #DE519F
split-complementary
#DED751 #519FDE #9051DE
monochromatic
#98921D #CBC327 #DED751 #E8E384 #F2EFB8

Accessibility & contrast

On white

1.51
#DED751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#DED751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED751
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED751#FFFFFF#000000##000000
##DED7511.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF40
Deuteranopia (green-blind)
#EBD559
Tritanopia (blue-blind)
#EDCABB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ded751;
/* rgb */ color: rgb(222, 215, 81);
/* oklch */ color: oklch(86.0% 0.153 106.3);
Tailwind
colors: {
  custom: {
    50: '#ebe388',
    500: '#ded751',
    950: '#000000',
  },
}
SCSS
$custom: #ded751;
$custom-light: #ebe388;
$custom-dark: #000000;
JSON
{
  "hex": "#ded751",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 57.021,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86035,
    "c": 0.15251,
    "h": 106.3
  },
  "luminance": 0.64725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DED751

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

Preview Lab → · Contrast checker → · Palette generator →

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