#DED970#DED970

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

Color values

HEX#DED970
RGBrgb(222, 217, 112)
HSLhsl(57, 63%, 65%)
HSVhsv(57, 50%, 87%)
CMYKcmyk(0%, 2.3%, 49.5%, 12.9%)
CIE-LABlab(85.16, -12.28, 51.82)
CIE-LCHlch(85.16, 53.26, 103.33°)
OKLaboklab(86.78% -0.0359 0.1226)
OKLCHoklch(86.78% 0.128 106.3)
XYZxyz(57.8631, 66.3268, 25.0804)
Luminance0.6633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED970 #7075DE
analogous
#DEA270 #DED970 #ACDE70
triadic
#DED970 #70DED9 #D970DE
tetradic
#DED970 #70DEA2 #7075DE #DE70AC
square
#DED970 #70DEA2 #7075DE #DE70AC
split-complementary
#DED970 #70ACDE #A270DE
monochromatic
#ACA628 #D3CC3E #DED970 #E9E6A2 #F5F3D3

Accessibility & contrast

On white

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

On black

14.27
#DED970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED970
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED970#FFFFFF#000000##000000
##DED9701.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ded970;
/* rgb */ color: rgb(222, 217, 112);
/* oklch */ color: oklch(86.8% 0.128 106.3);
Tailwind
colors: {
  custom: {
    50: '#eae49b',
    500: '#ded970',
    950: '#000000',
  },
}
SCSS
$custom: #ded970;
$custom-light: #eae49b;
$custom-dark: #000000;
JSON
{
  "hex": "#ded970",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 57.273,
    "s": 62.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86783,
    "c": 0.12773,
    "h": 106.3
  },
  "luminance": 0.66325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DED970

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

Preview Lab → · Contrast checker → · Palette generator →

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