#DFE171#DFE171

#DFE171 is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.6% C 0.135 H 109.8°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#DFE171
RGBrgb(223, 225, 113)
HSLhsl(61, 65%, 66%)
HSVhsv(61, 50%, 88%)
CMYKcmyk(0.9%, 0%, 49.8%, 11.8%)
CIE-LABlab(87.35, -15.77, 53.97)
CIE-LCHlch(87.35, 56.23, 106.29°)
OKLaboklab(88.55% -0.0458 0.1273)
OKLCHoklch(88.55% 0.135 109.8)
XYZxyz(60.3386, 70.7320, 26.0937)
Luminance0.7073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE171 #7371E1
analogous
#E1AB71 #DFE171 #A7E171
triadic
#DFE171 #71DFE1 #E171DF
tetradic
#DFE171 #71E1AB #7371E1 #E171A7
square
#DFE171 #71E1AB #7371E1 #E171A7
split-complementary
#DFE171 #71A7E1 #AB71E1
monochromatic
#AFB226 #D4D63E #DFE171 #EAECA4 #F6F6D6

Accessibility & contrast

On white

1.39
#DFE171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.15
#DFE171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE171
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE171#FFFFFF#000000##000000
##DFE1711.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D967
Deuteranopia (green-blind)
#F1DD77
Tritanopia (blue-blind)
#ECD5C7
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #dfe171;
/* rgb */ color: rgb(223, 225, 113);
/* oklch */ color: oklch(88.6% 0.135 109.8);
Tailwind
colors: {
  custom: {
    50: '#ebea9c',
    500: '#dfe171',
    950: '#000000',
  },
}
SCSS
$custom: #dfe171;
$custom-light: #ebea9c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe171",
  "rgb": {
    "r": 223,
    "g": 225,
    "b": 113
  },
  "hsl": {
    "h": 61.071,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.88551,
    "c": 0.13533,
    "h": 109.8
  },
  "luminance": 0.70731
}

Semantic roles & 50–950 ramp

primary
#DFE171
secondary
#4543B3
accent
#19CD1C
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#16160E
muted
#85847F

Preview Lab

Preview with #DFE171

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

Preview Lab → · Contrast checker → · Palette generator →

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