#DFD177#DFD177

#DFD177 is a very light, moderate yellow. Relative luminance 0.626; OKLCH L 85.3% C 0.113 H 100.6°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#DFD177
RGBrgb(223, 209, 119)
HSLhsl(52, 62%, 67%)
HSVhsv(52, 47%, 87%)
CMYKcmyk(0%, 6.3%, 46.6%, 12.5%)
CIE-LABlab(83.24, -7.21, 46.15)
CIE-LCHlch(83.24, 46.71, 98.88°)
OKLaboklab(85.31% -0.0207 0.1106)
OKLCHoklch(85.31% 0.113 100.6)
XYZxyz(56.5631, 62.6227, 26.5570)
Luminance0.6262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD177 #7785DF
analogous
#DF9D77 #DFD177 #B9DF77
triadic
#DFD177 #77DFD1 #D177DF
tetradic
#DFD177 #77DF9D #7785DF #DF77B9
square
#DFD177 #77DF9D #7785DF #DF77B9
split-complementary
#DFD177 #77B9DF #9D77DF
monochromatic
#B29F2A #D3C045 #DFD177 #EBE2A9 #F6F3DA

Accessibility & contrast

On white

1.55
#DFD177 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#DFD177 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD177
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD177#FFFFFF#000000##000000
##DFD1771.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC70
Deuteranopia (green-blind)
#E4D27B
Tritanopia (blue-blind)
#EDC6BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd177;
/* rgb */ color: rgb(223, 209, 119);
/* oklch */ color: oklch(85.3% 0.113 100.6);
Tailwind
colors: {
  custom: {
    50: '#ebdea0',
    500: '#dfd177',
    950: '#000000',
  },
}
SCSS
$custom: #dfd177;
$custom-light: #ebdea0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd177",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 119
  },
  "hsl": {
    "h": 51.923,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85306,
    "c": 0.11255,
    "h": 100.6
  },
  "luminance": 0.62621
}

Semantic roles & 50–950 ramp

primary
#DFD177
secondary
#4755B3
accent
#33CA1C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD177

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

Preview Lab → · Contrast checker → · Palette generator →

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