#DFE381#DFE381

#DFE381 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.2% C 0.122 H 110.7°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#DFE381
RGBrgb(223, 227, 129)
HSLhsl(62, 64%, 70%)
HSVhsv(62, 43%, 89%)
CMYKcmyk(1.8%, 0%, 43.2%, 11%)
CIE-LABlab(88.07, -15.27, 47.23)
CIE-LCHlch(88.07, 49.64, 107.91°)
OKLaboklab(89.18% -0.0429 0.1137)
OKLCHoklch(89.18% 0.122 110.7)
XYZxyz(61.8639, 72.2123, 31.4441)
Luminance0.7221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE381 #8581E3
analogous
#E3B681 #DFE381 #AEE381
triadic
#DFE381 #81DFE3 #E381DF
tetradic
#DFE381 #81E3B6 #8581E3 #E381AE
square
#DFE381 #81E3B6 #8581E3 #E381AE
split-complementary
#DFE381 #81AEE3 #B681E3
monochromatic
#B9BF2A #D2D84F #DFE381 #ECEEB3 #F8F9E5

Accessibility & contrast

On white

1.36
#DFE381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.44
#DFE381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE381
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE381#FFFFFF#000000##000000
##DFE3811.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB79
Deuteranopia (green-blind)
#F1DE86
Tritanopia (blue-blind)
#EBD8CC
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #dfe381;
/* rgb */ color: rgb(223, 227, 129);
/* oklch */ color: oklch(89.2% 0.122 110.7);
Tailwind
colors: {
  custom: {
    50: '#eaeba7',
    500: '#dfe381',
    950: '#000000',
  },
}
SCSS
$custom: #dfe381;
$custom-light: #eaeba7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe381",
  "rgb": {
    "r": 223,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 62.449,
    "s": 63.636,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89183,
    "c": 0.12154,
    "h": 110.7
  },
  "luminance": 0.72211
}

Semantic roles & 50–950 ramp

primary
#DFE381
secondary
#524DBB
accent
#1ACB21
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#161610
muted
#858480

Preview Lab

Preview with #DFE381

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

Preview Lab → · Contrast checker → · Palette generator →

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