#DED754#DED754

#DED754 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.1% C 0.150 H 106.2°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#DED754
RGBrgb(222, 215, 84)
HSLhsl(57, 68%, 60%)
HSVhsv(57, 62%, 87%)
CMYKcmyk(0%, 3.2%, 62.2%, 12.9%)
CIE-LABlab(84.37, -13.38, 63.41)
CIE-LCHlch(84.37, 64.80, 101.92°)
OKLaboklab(86.06% -0.042 0.1442)
OKLCHoklch(86.06% 0.15 106.2)
XYZxyz(56.0268, 64.7724, 17.9368)
Luminance0.6477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED754 #545BDE
analogous
#DE9254 #DED754 #A0DE54
triadic
#DED754 #54DED7 #D754DE
tetradic
#DED754 #54DE92 #545BDE #DE54A0
square
#DED754 #54DE92 #545BDE #DE54A0
split-complementary
#DED754 #54A0DE #9254DE
monochromatic
#9A941E #CDC528 #DED754 #E8E387 #F2EFBB

Accessibility & contrast

On white

1.50
#DED754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DED754#FFFFFF#000000##000000
##DED7541.001.5013.9513.95
#FFFFFF1.501.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF44
Deuteranopia (green-blind)
#EBD55C
Tritanopia (blue-blind)
#EDCABC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ded754;
/* rgb */ color: rgb(222, 215, 84);
/* oklch */ color: oklch(86.1% 0.150 106.2);
Tailwind
colors: {
  custom: {
    50: '#ebe38a',
    500: '#ded754',
    950: '#000000',
  },
}
SCSS
$custom: #ded754;
$custom-light: #ebe38a;
$custom-dark: #000000;
JSON
{
  "hex": "#ded754",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 56.957,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.86062,
    "c": 0.15023,
    "h": 106.2
  },
  "luminance": 0.64771
}

Semantic roles & 50–950 ramp

primary
#DED754
secondary
#383E9E
accent
#46EB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED754

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

Preview Lab → · Contrast checker → · Palette generator →

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