#DFD870#DFD870

#DFD870 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.7% C 0.127 H 105.3°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#DFD870
RGBrgb(223, 216, 112)
HSLhsl(56, 63%, 66%)
HSVhsv(56, 50%, 87%)
CMYKcmyk(0%, 3.1%, 49.8%, 12.5%)
CIE-LABlab(84.98, -11.38, 51.62)
CIE-LCHlch(84.98, 52.86, 102.43°)
OKLaboklab(86.66% -0.0334 0.1221)
OKLCHoklch(86.66% 0.127 105.3)
XYZxyz(57.9134, 65.9713, 25.0091)
Luminance0.6597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD870 #7077DF
analogous
#DFA070 #DFD870 #AEDF70
triadic
#DFD870 #70DFD8 #D870DF
tetradic
#DFD870 #70DFA0 #7077DF #DF70AE
square
#DFD870 #70DFA0 #7077DF #DF70AE
split-complementary
#DFD870 #70AEDF #A070DF
monochromatic
#AEA527 #D4CA3E #DFD870 #EAE6A2 #F5F3D4

Accessibility & contrast

On white

1.48
#DFD870 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.19
#DFD870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD870
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD870#FFFFFF#000000##000000
##DFD8701.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D167
Deuteranopia (green-blind)
#EAD775
Tritanopia (blue-blind)
#EDCCC0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd870;
/* rgb */ color: rgb(223, 216, 112);
/* oklch */ color: oklch(86.7% 0.127 105.3);
Tailwind
colors: {
  custom: {
    50: '#ebe39b',
    500: '#dfd870',
    950: '#000000',
  },
}
SCSS
$custom: #dfd870;
$custom-light: #ebe39b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd870",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 112
  },
  "hsl": {
    "h": 56.216,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86659,
    "c": 0.12662,
    "h": 105.3
  },
  "luminance": 0.6597
}

Semantic roles & 50–950 ramp

primary
#DFD870
secondary
#444AB0
accent
#25CB1A
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD870

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

Preview Lab → · Contrast checker → · Palette generator →

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