#DED07B#DED07B

#DED07B is a very light, moderate yellow. Relative luminance 0.621; OKLCH L 85.1% C 0.107 H 100.1°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#DED07B
RGBrgb(222, 208, 123)
HSLhsl(52, 60%, 68%)
HSVhsv(52, 45%, 87%)
CMYKcmyk(0%, 6.3%, 44.6%, 12.9%)
CIE-LABlab(82.95, -6.71, 43.80)
CIE-LCHlch(82.95, 44.31, 98.71°)
OKLaboklab(85.07% -0.0188 0.1057)
OKLCHoklch(85.07% 0.107 100.1)
XYZxyz(56.2566, 62.0732, 27.7530)
Luminance0.6207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED07B #7B89DE
analogous
#DE9E7B #DED07B #BBDE7B
triadic
#DED07B #7BDED0 #D07BDE
tetradic
#DED07B #7BDE9E #7B89DE #DE7BBB
square
#DED07B #7BDE9E #7B89DE #DE7BBB
split-complementary
#DED07B #7BBBDE #9E7BDE
monochromatic
#B29F2D #D2BF4A #DED07B #EAE1AC #F6F3DD

Accessibility & contrast

On white

1.57
#DED07B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.41
#DED07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED07B
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED07B#FFFFFF#000000##000000
##DED07B1.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB74
Deuteranopia (green-blind)
#E3D17E
Tritanopia (blue-blind)
#EBC5BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ded07b;
/* rgb */ color: rgb(222, 208, 123);
/* oklch */ color: oklch(85.1% 0.107 100.1);
Tailwind
colors: {
  custom: {
    50: '#eadea2',
    500: '#ded07b',
    950: '#000000',
  },
}
SCSS
$custom: #ded07b;
$custom-light: #eadea2;
$custom-dark: #000000;
JSON
{
  "hex": "#ded07b",
  "rgb": {
    "r": 222,
    "g": 208,
    "b": 123
  },
  "hsl": {
    "h": 51.515,
    "s": 60,
    "l": 67.647
  },
  "oklch": {
    "l": 0.85072,
    "c": 0.10732,
    "h": 100.1
  },
  "luminance": 0.62071
}

Semantic roles & 50–950 ramp

primary
#DED07B
secondary
#4958B4
accent
#36C81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DED07B

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

Preview Lab → · Contrast checker → · Palette generator →

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