#DED27D#DED27D

#DED27D is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.5% C 0.107 H 101.3°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#DED27D
RGBrgb(222, 210, 125)
HSLhsl(53, 60%, 68%)
HSVhsv(53, 44%, 87%)
CMYKcmyk(0%, 5.4%, 43.7%, 12.9%)
CIE-LABlab(83.50, -7.53, 43.49)
CIE-LCHlch(83.50, 44.14, 99.83°)
OKLaboklab(85.51% -0.021 0.1051)
OKLCHoklch(85.51% 0.107 101.3)
XYZxyz(56.8738, 63.1052, 28.5827)
Luminance0.6310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED27D #7D89DE
analogous
#DEA17D #DED27D #BADE7D
triadic
#DED27D #7DDED2 #D27DDE
tetradic
#DED27D #7DDEA1 #7D89DE #DE7DBA
square
#DED27D #7DDEA1 #7D89DE #DE7DBA
split-complementary
#DED27D #7DBADE #A17DDE
monochromatic
#B3A32D #D2C14C #DED27D #EAE3AE #F7F4DF

Accessibility & contrast

On white

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

On black

13.62
#DED27D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED27D
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED27D#FFFFFF#000000##000000
##DED27D1.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD76
Deuteranopia (green-blind)
#E4D281
Tritanopia (blue-blind)
#EBC7BD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ded27d;
/* rgb */ color: rgb(222, 210, 125);
/* oklch */ color: oklch(85.5% 0.107 101.3);
Tailwind
colors: {
  custom: {
    50: '#eadfa4',
    500: '#ded27d',
    950: '#000000',
  },
}
SCSS
$custom: #ded27d;
$custom-light: #eadfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ded27d",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 125
  },
  "hsl": {
    "h": 52.577,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85513,
    "c": 0.10717,
    "h": 101.3
  },
  "luminance": 0.63103
}

Semantic roles & 50–950 ramp

primary
#DED27D
secondary
#4B58B5
accent
#33C71E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DED27D

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

Preview Lab → · Contrast checker → · Palette generator →

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