#DED96F#DED96F

#DED96F is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.8% C 0.129 H 106.4°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#DED96F
RGBrgb(222, 217, 111)
HSLhsl(57, 63%, 65%)
HSVhsv(57, 50%, 87%)
CMYKcmyk(0%, 2.3%, 50%, 12.9%)
CIE-LABlab(85.15, -12.37, 52.28)
CIE-LCHlch(85.15, 53.72, 103.31°)
OKLaboklab(86.77% -0.0362 0.1235)
OKLCHoklch(86.77% 0.129 106.4)
XYZxyz(57.8078, 66.3046, 24.7888)
Luminance0.6630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED96F #6F74DE
analogous
#DEA16F #DED96F #ACDE6F
triadic
#DED96F #6FDED9 #D96FDE
tetradic
#DED96F #6FDEA1 #6F74DE #DE6FAC
square
#DED96F #6FDEA1 #6F74DE #DE6FAC
split-complementary
#DED96F #6FACDE #A16FDE
monochromatic
#ABA527 #D3CC3D #DED96F #E9E6A1 #F5F3D3

Accessibility & contrast

On white

1.47
#DED96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#DED96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED96F
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED96F#FFFFFF#000000##000000
##DED96F1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D265
Deuteranopia (green-blind)
#EBD774
Tritanopia (blue-blind)
#ECCDC1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ded96f;
/* rgb */ color: rgb(222, 217, 111);
/* oklch */ color: oklch(86.8% 0.129 106.4);
Tailwind
colors: {
  custom: {
    50: '#eae49b',
    500: '#ded96f',
    950: '#000000',
  },
}
SCSS
$custom: #ded96f;
$custom-light: #eae49b;
$custom-dark: #000000;
JSON
{
  "hex": "#ded96f",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 111
  },
  "hsl": {
    "h": 57.297,
    "s": 62.712,
    "l": 65.294
  },
  "oklch": {
    "l": 0.8677,
    "c": 0.1287,
    "h": 106.4
  },
  "luminance": 0.66303
}

Semantic roles & 50–950 ramp

primary
#DED96F
secondary
#4448AE
accent
#23CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED96F

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

Preview Lab → · Contrast checker → · Palette generator →

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