#DED374#DED374

#DED374 is a very light, moderate yellow. Relative luminance 0.634; OKLCH L 85.6% C 0.118 H 102.7°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#DED374
RGBrgb(222, 211, 116)
HSLhsl(54, 62%, 66%)
HSVhsv(54, 48%, 87%)
CMYKcmyk(0%, 5%, 47.7%, 12.9%)
CIE-LABlab(83.64, -8.90, 48.08)
CIE-LCHlch(83.64, 48.90, 100.49°)
OKLaboklab(85.59% -0.0258 0.1147)
OKLCHoklch(85.59% 0.118 102.7)
XYZxyz(56.5723, 63.3809, 25.7733)
Luminance0.6338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED374 #747FDE
analogous
#DE9E74 #DED374 #B4DE74
triadic
#DED374 #74DED3 #D374DE
tetradic
#DED374 #74DE9E #747FDE #DE74B4
square
#DED374 #74DE9E #747FDE #DE74B4
split-complementary
#DED374 #74B4DE #9E74DE
monochromatic
#AEA029 #D2C343 #DED374 #EAE3A5 #F5F2D7

Accessibility & contrast

On white

1.54
#DED374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#DED374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED374
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED374#FFFFFF#000000##000000
##DED3741.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6C
Deuteranopia (green-blind)
#E6D378
Tritanopia (blue-blind)
#ECC8BD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ded374;
/* rgb */ color: rgb(222, 211, 116);
/* oklch */ color: oklch(85.6% 0.118 102.7);
Tailwind
colors: {
  custom: {
    50: '#eae09e',
    500: '#ded374',
    950: '#000000',
  },
}
SCSS
$custom: #ded374;
$custom-light: #eae09e;
$custom-dark: #000000;
JSON
{
  "hex": "#ded374",
  "rgb": {
    "r": 222,
    "g": 211,
    "b": 116
  },
  "hsl": {
    "h": 53.774,
    "s": 61.628,
    "l": 66.275
  },
  "oklch": {
    "l": 0.8559,
    "c": 0.11757,
    "h": 102.7
  },
  "luminance": 0.63379
}

Semantic roles & 50–950 ramp

primary
#DED374
secondary
#4651B0
accent
#2EC91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED374

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

Preview Lab → · Contrast checker → · Palette generator →

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