#DFE151#DFE151

#DFE151 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.2% C 0.162 H 110.1°. Best body text is #000000 at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#DFE151
RGBrgb(223, 225, 81)
HSLhsl(61, 71%, 60%)
HSVhsv(61, 64%, 88%)
CMYKcmyk(0.9%, 0%, 64%, 11.8%)
CIE-LABlab(87.06, -18.09, 67.48)
CIE-LCHlch(87.06, 69.86, 105.01°)
OKLaboklab(88.22% -0.0557 0.1524)
OKLCHoklch(88.22% 0.162 110.1)
XYZxyz(58.8437, 70.1341, 18.2205)
Luminance0.7013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE151 #5351E1
analogous
#E19B51 #DFE151 #97E151
triadic
#DFE151 #51DFE1 #E151DF
tetradic
#DFE151 #51E19B #5351E1 #E15197
square
#DFE151 #51E19B #5351E1 #E15197
split-complementary
#DFE151 #5197E1 #9B51E1
monochromatic
#9B9D1B #CED124 #DFE151 #E9EA85 #F2F3B9

Accessibility & contrast

On white

1.40
#DFE151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.03
#DFE151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE151
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE151#FFFFFF#000000##000000
##DFE1511.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83E
Deuteranopia (green-blind)
#F3DC5A
Tritanopia (blue-blind)
#EED4C4
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfe151;
/* rgb */ color: rgb(223, 225, 81);
/* oklch */ color: oklch(88.2% 0.162 110.1);
Tailwind
colors: {
  custom: {
    50: '#ecea89',
    500: '#dfe151',
    950: '#000000',
  },
}
SCSS
$custom: #dfe151;
$custom-light: #ecea89;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe151",
  "rgb": {
    "r": 223,
    "g": 225,
    "b": 81
  },
  "hsl": {
    "h": 60.833,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.88224,
    "c": 0.16224,
    "h": 110.1
  },
  "luminance": 0.70132
}

Semantic roles & 50–950 ramp

primary
#DFE151
secondary
#3836A0
accent
#3AED3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DFE151

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

Preview Lab → · Contrast checker → · Palette generator →

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