#DED77F#DED77F

#DED77F is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.6% C 0.110 H 104.5°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#DED77F
RGBrgb(222, 215, 127)
HSLhsl(56, 59%, 68%)
HSVhsv(56, 43%, 87%)
CMYKcmyk(0%, 3.2%, 42.8%, 12.9%)
CIE-LABlab(84.82, -9.87, 44.16)
CIE-LCHlch(84.82, 45.25, 102.60°)
OKLaboklab(86.57% -0.0276 0.1067)
OKLCHoklch(86.57% 0.11 104.5)
XYZxyz(58.2566, 65.6643, 29.6802)
Luminance0.6566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED77F #7F86DE
analogous
#DEA77F #DED77F #B5DE7F
triadic
#DED77F #7FDED7 #D77FDE
tetradic
#DED77F #7FDEA7 #7F86DE #DE7FB5
square
#DED77F #7FDEA7 #7F86DE #DE7FB5
split-complementary
#DED77F #7FB5DE #A77FDE
monochromatic
#B4AA2E #D1C84E #DED77F #EBE6B0 #F7F5E0

Accessibility & contrast

On white

1.49
#DED77F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#DED77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED77F
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED77F#FFFFFF#000000##000000
##DED77F1.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D178
Deuteranopia (green-blind)
#E8D683
Tritanopia (blue-blind)
#EBCCC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded77f;
/* rgb */ color: rgb(222, 215, 127);
/* oklch */ color: oklch(86.6% 0.110 104.5);
Tailwind
colors: {
  custom: {
    50: '#eae3a5',
    500: '#ded77f',
    950: '#000000',
  },
}
SCSS
$custom: #ded77f;
$custom-light: #eae3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ded77f",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 127
  },
  "hsl": {
    "h": 55.579,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86574,
    "c": 0.11021,
    "h": 104.5
  },
  "luminance": 0.65663
}

Semantic roles & 50–950 ramp

primary
#DED77F
secondary
#4C54B5
accent
#2BC71F
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DED77F

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

Preview Lab → · Contrast checker → · Palette generator →

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