#DED397#DED397

#DED397 is a very light, moderate yellow. Relative luminance 0.644; OKLCH L 86.2% C 0.079 H 99.0°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#DED397
RGBrgb(222, 211, 151)
HSLhsl(51, 52%, 73%)
HSVhsv(51, 32%, 87%)
CMYKcmyk(0%, 5%, 32%, 12.9%)
CIE-LABlab(84.15, -5.15, 31.14)
CIE-LCHlch(84.15, 31.56, 99.38°)
OKLaboklab(86.16% -0.0123 0.0777)
OKLCHoklch(86.16% 0.079 99)
XYZxyz(59.0050, 64.3539, 38.5855)
Luminance0.6435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED397 #97A2DE
analogous
#DEAF97 #DED397 #C5DE97
triadic
#DED397 #97DED3 #D397DE
tetradic
#DED397 #97DEAF #97A2DE #DE97C5
square
#DED397 #97DEAF #97A2DE #DE97C5
split-complementary
#DED397 #97C5DE #AF97DE
monochromatic
#BEAA3C #CFBF69 #DED397 #EDE7C5 #F8F5E8

Accessibility & contrast

On white

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

On black

13.87
#DED397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED397
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED397#FFFFFF#000000##000000
##DED3971.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECF93
Deuteranopia (green-blind)
#E2D499
Tritanopia (blue-blind)
#E9CBC3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ded397;
/* rgb */ color: rgb(222, 211, 151);
/* oklch */ color: oklch(86.2% 0.079 99.0);
Tailwind
colors: {
  custom: {
    50: '#e9e0b6',
    500: '#ded397',
    950: '#000000',
  },
}
SCSS
$custom: #ded397;
$custom-light: #e9e0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ded397",
  "rgb": {
    "r": 222,
    "g": 211,
    "b": 151
  },
  "hsl": {
    "h": 50.704,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.86157,
    "c": 0.07869,
    "h": 99
  },
  "luminance": 0.64352
}

Semantic roles & 50–950 ramp

primary
#DED397
secondary
#6370B6
accent
#3EBF26
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DED397

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

Preview Lab → · Contrast checker → · Palette generator →

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