#DED841#DED841

#DED841 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.1% C 0.164 H 107.1°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#DED841
RGBrgb(222, 216, 65)
HSLhsl(58, 70%, 56%)
HSVhsv(58, 71%, 87%)
CMYKcmyk(0%, 2.7%, 70.7%, 12.9%)
CIE-LABlab(84.50, -14.92, 70.86)
CIE-LCHlch(84.50, 72.41, 101.89°)
OKLaboklab(86.12% -0.0483 0.1569)
OKLCHoklch(86.12% 0.164 107.1)
XYZxyz(55.6364, 65.0249, 14.6204)
Luminance0.6502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED841 #4147DE
analogous
#DE8A41 #DED841 #96DE41
triadic
#DED841 #41DED8 #D841DE
tetradic
#DED841 #41DE8A #4147DE #DE4196
square
#DED841 #41DE8A #4147DE #DE4196
split-complementary
#DED841 #4196DE #8A41DE
monochromatic
#8C8818 #C0BA21 #DED841 #E7E375 #F0EDA9

Accessibility & contrast

On white

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

On black

14.00
#DED841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED841
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED841#FFFFFF#000000##000000
##DED8411.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD026
Deuteranopia (green-blind)
#EDD54C
Tritanopia (blue-blind)
#EECABB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ded841;
/* rgb */ color: rgb(222, 216, 65);
/* oklch */ color: oklch(86.1% 0.164 107.1);
Tailwind
colors: {
  custom: {
    50: '#ece37f',
    500: '#ded841',
    950: '#000000',
  },
}
SCSS
$custom: #ded841;
$custom-light: #ece37f;
$custom-dark: #000000;
JSON
{
  "hex": "#ded841",
  "rgb": {
    "r": 222,
    "g": 216,
    "b": 65
  },
  "hsl": {
    "h": 57.707,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.86123,
    "c": 0.1642,
    "h": 107.1
  },
  "luminance": 0.65023
}

Semantic roles & 50–950 ramp

primary
#DED841
secondary
#323592
accent
#41ED3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DED841

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

Preview Lab → · Contrast checker → · Palette generator →

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