#DED274#DED274

#DED274 is a very light, moderate yellow. Relative luminance 0.629; OKLCH L 85.4% C 0.117 H 102.1°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#DED274
RGBrgb(222, 210, 116)
HSLhsl(53, 62%, 66%)
HSVhsv(53, 48%, 87%)
CMYKcmyk(0%, 5.4%, 47.7%, 12.9%)
CIE-LABlab(83.38, -8.40, 47.76)
CIE-LCHlch(83.38, 48.49, 99.97°)
OKLaboklab(85.38% -0.0243 0.114)
OKLCHoklch(85.38% 0.117 102.1)
XYZxyz(56.3247, 62.8855, 25.6908)
Luminance0.6288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED274 #7480DE
analogous
#DE9D74 #DED274 #B5DE74
triadic
#DED274 #74DED2 #D274DE
tetradic
#DED274 #74DE9D #7480DE #DE74B5
square
#DED274 #74DE9D #7480DE #DE74B5
split-complementary
#DED274 #74B5DE #9D74DE
monochromatic
#AE9F29 #D2C243 #DED274 #EAE2A5 #F5F2D7

Accessibility & contrast

On white

1.55
#DED274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#DED274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED274
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED274#FFFFFF#000000##000000
##DED2741.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD6C
Deuteranopia (green-blind)
#E5D278
Tritanopia (blue-blind)
#ECC7BC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ded274;
/* rgb */ color: rgb(222, 210, 116);
/* oklch */ color: oklch(85.4% 0.117 102.1);
Tailwind
colors: {
  custom: {
    50: '#eadf9e',
    500: '#ded274',
    950: '#000000',
  },
}
SCSS
$custom: #ded274;
$custom-light: #eadf9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ded274",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 116
  },
  "hsl": {
    "h": 53.208,
    "s": 61.628,
    "l": 66.275
  },
  "oklch": {
    "l": 0.85384,
    "c": 0.11657,
    "h": 102.1
  },
  "luminance": 0.62884
}

Semantic roles & 50–950 ramp

primary
#DED274
secondary
#4652B0
accent
#30C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED274

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

Preview Lab → · Contrast checker → · Palette generator →

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