#DFE251#DFE251

#DFE251 is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.4% C 0.163 H 110.5°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#DFE251
RGBrgb(223, 226, 81)
HSLhsl(61, 71%, 60%)
HSVhsv(61, 64%, 89%)
CMYKcmyk(1.3%, 0%, 64.2%, 11.4%)
CIE-LABlab(87.33, -18.58, 67.76)
CIE-LCHlch(87.33, 70.26, 105.33°)
OKLaboklab(88.44% -0.0571 0.153)
OKLCHoklch(88.44% 0.163 110.5)
XYZxyz(59.1148, 70.6763, 18.3109)
Luminance0.7067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE251 #5451E2
analogous
#E29C51 #DFE251 #97E251
triadic
#DFE251 #51DFE2 #E251DF
tetradic
#DFE251 #51E29C #5451E2 #E25197
square
#DFE251 #51E29C #5451E2 #E25197
split-complementary
#DFE251 #5197E2 #9C51E2
monochromatic
#9C9E1A #CFD323 #DFE251 #E9EB85 #F2F3BA

Accessibility & contrast

On white

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

On black

15.14
#DFE251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE251
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE251#FFFFFF#000000##000000
##DFE2511.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D93D
Deuteranopia (green-blind)
#F4DD5B
Tritanopia (blue-blind)
#EED5C4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #dfe251;
/* rgb */ color: rgb(223, 226, 81);
/* oklch */ color: oklch(88.4% 0.163 110.5);
Tailwind
colors: {
  custom: {
    50: '#ecea89',
    500: '#dfe251',
    950: '#000000',
  },
}
SCSS
$custom: #dfe251;
$custom-light: #ecea89;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe251",
  "rgb": {
    "r": 223,
    "g": 226,
    "b": 81
  },
  "hsl": {
    "h": 61.241,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.88435,
    "c": 0.16326,
    "h": 110.5
  },
  "luminance": 0.70675
}

Semantic roles & 50–950 ramp

primary
#DFE251
secondary
#3836A1
accent
#12D316
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DFE251

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

Preview Lab → · Contrast checker → · Palette generator →

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