#DED73F#DED73F

#DED73F is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.9% C 0.164 H 106.7°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#DED73F
RGBrgb(222, 215, 63)
HSLhsl(57, 71%, 56%)
HSVhsv(57, 72%, 87%)
CMYKcmyk(0%, 3.2%, 71.6%, 12.9%)
CIE-LABlab(84.22, -14.51, 71.29)
CIE-LCHlch(84.22, 72.75, 101.51°)
OKLaboklab(85.9% -0.0473 0.1575)
OKLCHoklch(85.9% 0.164 106.7)
XYZxyz(55.3240, 64.4913, 14.2355)
Luminance0.6449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED73F #3F46DE
analogous
#DE873F #DED73F #96DE3F
triadic
#DED73F #3FDED7 #D73FDE
tetradic
#DED73F #3FDE87 #3F46DE #DE3F96
square
#DED73F #3FDE87 #3F46DE #DE3F96
split-complementary
#DED73F #3F96DE #873FDE
monochromatic
#8B8618 #BFB821 #DED73F #E7E273 #F0EDA7

Accessibility & contrast

On white

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

On black

13.90
#DED73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED73F
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED73F#FFFFFF#000000##000000
##DED73F1.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF23
Deuteranopia (green-blind)
#ECD54A
Tritanopia (blue-blind)
#EEC9BA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ded73f;
/* rgb */ color: rgb(222, 215, 63);
/* oklch */ color: oklch(85.9% 0.164 106.7);
Tailwind
colors: {
  custom: {
    50: '#ece37e',
    500: '#ded73f',
    950: '#000000',
  },
}
SCSS
$custom: #ded73f;
$custom-light: #ece37e;
$custom-dark: #000000;
JSON
{
  "hex": "#ded73f",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 63
  },
  "hsl": {
    "h": 57.358,
    "s": 70.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.85899,
    "c": 0.16446,
    "h": 106.7
  },
  "luminance": 0.64489
}

Semantic roles & 50–950 ramp

primary
#DED73F
secondary
#313590
accent
#42ED3A
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DED73F

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

Preview Lab → · Contrast checker → · Palette generator →

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