#DFD371#DFD371

#DFD371 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.6% C 0.121 H 102.3°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#DFD371
RGBrgb(223, 211, 113)
HSLhsl(53, 63%, 66%)
HSVhsv(53, 49%, 87%)
CMYKcmyk(0%, 5.4%, 49.3%, 12.5%)
CIE-LABlab(83.69, -8.77, 49.60)
CIE-LCHlch(83.69, 50.37, 100.03°)
OKLaboklab(85.64% -0.0258 0.1178)
OKLCHoklch(85.64% 0.121 102.3)
XYZxyz(56.7079, 63.4706, 24.8835)
Luminance0.6347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD371 #717DDF
analogous
#DF9C71 #DFD371 #B4DF71
triadic
#DFD371 #71DFD3 #D371DF
tetradic
#DFD371 #71DF9C #717DDF #DF71B4
square
#DFD371 #71DF9C #717DDF #DF71B4
split-complementary
#DFD371 #71B4DF #9C71DF
monochromatic
#AEA027 #D4C43F #DFD371 #EAE2A3 #F6F2D5

Accessibility & contrast

On white

1.53
#DFD371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#DFD371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD371
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD371#FFFFFF#000000##000000
##DFD3711.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD68
Deuteranopia (green-blind)
#E6D375
Tritanopia (blue-blind)
#EDC7BC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd371;
/* rgb */ color: rgb(223, 211, 113);
/* oklch */ color: oklch(85.6% 0.121 102.3);
Tailwind
colors: {
  custom: {
    50: '#ebe09c',
    500: '#dfd371',
    950: '#000000',
  },
}
SCSS
$custom: #dfd371;
$custom-light: #ebe09c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd371",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 113
  },
  "hsl": {
    "h": 53.455,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85636,
    "c": 0.12058,
    "h": 102.3
  },
  "luminance": 0.63469
}

Semantic roles & 50–950 ramp

primary
#DFD371
secondary
#4450B0
accent
#2ECB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD371

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

Preview Lab → · Contrast checker → · Palette generator →

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