#DFEF81#DFEF81

#DFEF81 is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 91.7% C 0.136 H 116.0°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#DFEF81
RGBrgb(223, 239, 129)
HSLhsl(69, 77%, 72%)
HSVhsv(69, 46%, 94%)
CMYKcmyk(6.7%, 0%, 46%, 6.3%)
CIE-LABlab(91.24, -21.12, 51.13)
CIE-LCHlch(91.24, 55.32, 112.45°)
OKLaboklab(91.71% -0.0596 0.1224)
OKLCHoklch(91.71% 0.136 116)
XYZxyz(65.2611, 79.0067, 32.5765)
Luminance0.7901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF81 #9181EF
analogous
#EFC881 #DFEF81 #A8EF81
triadic
#DFEF81 #81DFEF #EF81DF
tetradic
#DFEF81 #81EFC8 #9181EF #EF81A8
square
#DFEF81 #81EFC8 #9181EF #EF81A8
split-complementary
#DFEF81 #81A8EF #C881EF
monochromatic
#BEDA1C #D1E84B #DFEF81 #EDF6B7 #F8FCE4

Accessibility & contrast

On white

1.25
#DFEF81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.80
#DFEF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF81
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF81#FFFFFF#000000##000000
##DFEF811.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE578
Deuteranopia (green-blind)
#FBE787
Tritanopia (blue-blind)
#EAE4D5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #dfef81;
/* rgb */ color: rgb(223, 239, 129);
/* oklch */ color: oklch(91.7% 0.136 116.0);
Tailwind
colors: {
  custom: {
    50: '#ebf4a8',
    500: '#dfef81',
    950: '#000000',
  },
}
SCSS
$custom: #dfef81;
$custom-light: #ebf4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef81",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 129
  },
  "hsl": {
    "h": 68.727,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.9171,
    "c": 0.1361,
    "h": 116
  },
  "luminance": 0.79006
}

Semantic roles & 50–950 ramp

primary
#DFEF81
secondary
#5D4BC9
accent
#0CDA2A
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#161710
muted
#858580

Preview Lab

Preview with #DFEF81

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

Preview Lab → · Contrast checker → · Palette generator →

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