#DED57F#DED57F

#DED57F is a very light, moderate yellow. Relative luminance 0.646; OKLCH L 86.2% C 0.108 H 103.2°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#DED57F
RGBrgb(222, 213, 127)
HSLhsl(54, 59%, 68%)
HSVhsv(54, 43%, 87%)
CMYKcmyk(0%, 4.1%, 42.8%, 12.9%)
CIE-LABlab(84.30, -8.86, 43.51)
CIE-LCHlch(84.30, 44.40, 101.51°)
OKLaboklab(86.16% -0.0246 0.1053)
OKLCHoklch(86.16% 0.108 103.2)
XYZxyz(57.7504, 64.6520, 29.5115)
Luminance0.6465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED57F #7F88DE
analogous
#DEA57F #DED57F #B7DE7F
triadic
#DED57F #7FDED5 #D57FDE
tetradic
#DED57F #7FDEA5 #7F88DE #DE7FB7
square
#DED57F #7FDEA5 #7F88DE #DE7FB7
split-complementary
#DED57F #7FB7DE #A57FDE
monochromatic
#B4A72E #D1C54E #DED57F #EBE5B0 #F7F5E0

Accessibility & contrast

On white

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

On black

13.93
#DED57F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED57F
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED57F#FFFFFF#000000##000000
##DED57F1.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D078
Deuteranopia (green-blind)
#E6D583
Tritanopia (blue-blind)
#EBCAC0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ded57f;
/* rgb */ color: rgb(222, 213, 127);
/* oklch */ color: oklch(86.2% 0.108 103.2);
Tailwind
colors: {
  custom: {
    50: '#eae1a5',
    500: '#ded57f',
    950: '#000000',
  },
}
SCSS
$custom: #ded57f;
$custom-light: #eae1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ded57f",
  "rgb": {
    "r": 222,
    "g": 213,
    "b": 127
  },
  "hsl": {
    "h": 54.316,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86161,
    "c": 0.1081,
    "h": 103.2
  },
  "luminance": 0.6465
}

Semantic roles & 50–950 ramp

primary
#DED57F
secondary
#4C56B5
accent
#2FC71F
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DED57F

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

Preview Lab → · Contrast checker → · Palette generator →

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