#DED38F#DED38F

#DED38F is a very light, moderate yellow. Relative luminance 0.641; OKLCH L 86.0% C 0.088 H 100.1°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#DED38F
RGBrgb(222, 211, 143)
HSLhsl(52, 54%, 72%)
HSVhsv(52, 36%, 87%)
CMYKcmyk(0%, 5%, 35.6%, 12.9%)
CIE-LABlab(84.02, -6.10, 35.08)
CIE-LCHlch(84.02, 35.61, 99.87°)
OKLaboklab(86.01% -0.0155 0.0867)
OKLCHoklch(86.01% 0.088 100.1)
XYZxyz(58.3772, 64.1028, 35.2792)
Luminance0.6410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED38F #8F9ADE
analogous
#DEAC8F #DED38F #C2DE8F
triadic
#DED38F #8FDED3 #D38FDE
tetradic
#DED38F #8FDEAC #8F9ADE #DE8FC2
square
#DED38F #8FDEAC #8F9ADE #DE8FC2
split-complementary
#DED38F #8FC2DE #AC8FDE
monochromatic
#BBA937 #D0C060 #DED38F #ECE6BE #F8F6E7

Accessibility & contrast

On white

1.52
#DED38F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#DED38F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED38F
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED38F#FFFFFF#000000##000000
##DED38F1.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCF8A
Deuteranopia (green-blind)
#E3D492
Tritanopia (blue-blind)
#E9CAC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded38f;
/* rgb */ color: rgb(222, 211, 143);
/* oklch */ color: oklch(86.0% 0.088 100.1);
Tailwind
colors: {
  custom: {
    50: '#e9e0b0',
    500: '#ded38f',
    950: '#000000',
  },
}
SCSS
$custom: #ded38f;
$custom-light: #e9e0b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ded38f",
  "rgb": {
    "r": 222,
    "g": 211,
    "b": 143
  },
  "hsl": {
    "h": 51.646,
    "s": 54.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.86012,
    "c": 0.08809,
    "h": 100.1
  },
  "luminance": 0.64101
}

Semantic roles & 50–950 ramp

primary
#DED38F
secondary
#5B68B6
accent
#3AC224
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED38F

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

Preview Lab → · Contrast checker → · Palette generator →

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