#DFD876#DFD876

#DFD876 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.7% C 0.121 H 105.0°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#DFD876
RGBrgb(223, 216, 118)
HSLhsl(56, 62%, 67%)
HSVhsv(56, 47%, 87%)
CMYKcmyk(0%, 3.1%, 47.1%, 12.5%)
CIE-LABlab(85.05, -10.84, 48.85)
CIE-LCHlch(85.05, 50.03, 102.51°)
OKLaboklab(86.74% -0.0312 0.1165)
OKLCHoklch(86.74% 0.121 105)
XYZxyz(58.2587, 66.1094, 26.8275)
Luminance0.6611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD876 #767DDF
analogous
#DFA476 #DFD876 #B2DF76
triadic
#DFD876 #76DFD8 #D876DF
tetradic
#DFD876 #76DFA4 #767DDF #DF76B2
square
#DFD876 #76DFA4 #767DDF #DF76B2
split-complementary
#DFD876 #76B2DF #A476DF
monochromatic
#B1A829 #D3CA44 #DFD876 #EBE6A8 #F6F4D9

Accessibility & contrast

On white

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

On black

14.22
#DFD876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD876
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD876#FFFFFF#000000##000000
##DFD8761.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D26E
Deuteranopia (green-blind)
#EAD77A
Tritanopia (blue-blind)
#ECCDC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd876;
/* rgb */ color: rgb(223, 216, 118);
/* oklch */ color: oklch(86.7% 0.121 105.0);
Tailwind
colors: {
  custom: {
    50: '#ebe39f',
    500: '#dfd876',
    950: '#000000',
  },
}
SCSS
$custom: #dfd876;
$custom-light: #ebe39f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd876",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 118
  },
  "hsl": {
    "h": 56,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86737,
    "c": 0.12064,
    "h": 105
  },
  "luminance": 0.66108
}

Semantic roles & 50–950 ramp

primary
#DFD876
secondary
#464EB3
accent
#27CA1C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD876

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

Preview Lab → · Contrast checker → · Palette generator →

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