#DFD771#DFD771

#DFD771 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.5% C 0.125 H 104.7°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#DFD771
RGBrgb(223, 215, 113)
HSLhsl(56, 63%, 66%)
HSVhsv(56, 49%, 87%)
CMYKcmyk(0%, 3.6%, 49.3%, 12.5%)
CIE-LABlab(84.73, -10.79, 50.85)
CIE-LCHlch(84.73, 51.98, 101.98°)
OKLaboklab(86.46% -0.0316 0.1205)
OKLCHoklch(86.46% 0.125 104.7)
XYZxyz(57.7140, 65.4828, 25.2189)
Luminance0.6548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD771 #7179DF
analogous
#DFA071 #DFD771 #B0DF71
triadic
#DFD771 #71DFD7 #D771DF
tetradic
#DFD771 #71DFA0 #7179DF #DF71B0
square
#DFD771 #71DFA0 #7179DF #DF71B0
split-complementary
#DFD771 #71B0DF #A071DF
monochromatic
#AEA427 #D4C93F #DFD771 #EAE5A3 #F6F3D5

Accessibility & contrast

On white

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

On black

14.10
#DFD771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD771
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD771#FFFFFF#000000##000000
##DFD7711.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D168
Deuteranopia (green-blind)
#E9D676
Tritanopia (blue-blind)
#EDCBBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dfd771;
/* rgb */ color: rgb(223, 215, 113);
/* oklch */ color: oklch(86.5% 0.125 104.7);
Tailwind
colors: {
  custom: {
    50: '#ebe39c',
    500: '#dfd771',
    950: '#000000',
  },
}
SCSS
$custom: #dfd771;
$custom-light: #ebe39c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd771",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 55.636,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86464,
    "c": 0.12461,
    "h": 104.7
  },
  "luminance": 0.65481
}

Semantic roles & 50–950 ramp

primary
#DFD771
secondary
#444CB0
accent
#27CB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD771

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

Preview Lab → · Contrast checker → · Palette generator →

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