#DFE371#DFE371

#DFE371 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.0% C 0.138 H 110.7°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#DFE371
RGBrgb(223, 227, 113)
HSLhsl(62, 67%, 67%)
HSVhsv(62, 50%, 89%)
CMYKcmyk(1.8%, 0%, 50.2%, 11%)
CIE-LABlab(87.88, -16.76, 54.59)
CIE-LCHlch(87.88, 57.10, 107.06°)
OKLaboklab(88.97% -0.0486 0.1287)
OKLCHoklch(88.97% 0.138 110.7)
XYZxyz(60.8824, 71.8197, 26.2750)
Luminance0.7182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE371 #7571E3
analogous
#E3AE71 #DFE371 #A6E371
triadic
#DFE371 #71DFE3 #E371DF
tetradic
#DFE371 #71E3AE #7571E3 #E371A6
square
#DFE371 #71E3AE #7571E3 #E371A6
split-complementary
#DFE371 #71A6E3 #AE71E3
monochromatic
#B1B624 #D3D93E #DFE371 #EBEDA4 #F6F7D7

Accessibility & contrast

On white

1.37
#DFE371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.36
#DFE371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE371
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE371#FFFFFF#000000##000000
##DFE3711.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB66
Deuteranopia (green-blind)
#F3DE77
Tritanopia (blue-blind)
#ECD7C9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #dfe371;
/* rgb */ color: rgb(223, 227, 113);
/* oklch */ color: oklch(89.0% 0.138 110.7);
Tailwind
colors: {
  custom: {
    50: '#ebeb9d',
    500: '#dfe371',
    950: '#000000',
  },
}
SCSS
$custom: #dfe371;
$custom-light: #ebeb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe371",
  "rgb": {
    "r": 223,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 62.105,
    "s": 67.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.88971,
    "c": 0.13758,
    "h": 110.7
  },
  "luminance": 0.71818
}

Semantic roles & 50–950 ramp

primary
#DFE371
secondary
#4642B6
accent
#17CF1D
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#16160E
muted
#85847F

Preview Lab

Preview with #DFE371

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

Preview Lab → · Contrast checker → · Palette generator →

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