#DFE798#DFE798

#DFE798 is a very light, moderate yellow. Relative luminance 0.751; OKLCH L 90.4% C 0.101 H 113.1°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#DFE798
RGBrgb(223, 231, 152)
HSLhsl(66, 62%, 75%)
HSVhsv(66, 34%, 91%)
CMYKcmyk(3.5%, 0%, 34.2%, 9.4%)
CIE-LABlab(89.44, -14.72, 37.62)
CIE-LCHlch(89.44, 40.40, 111.36°)
OKLaboklab(90.38% -0.0397 0.0929)
OKLCHoklch(90.38% 0.101 113.1)
XYZxyz(64.6751, 75.1076, 40.7898)
Luminance0.7511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE798 #A098E7
analogous
#E7C898 #DFE798 #B7E798
triadic
#DFE798 #98DFE7 #E798DF
tetradic
#DFE798 #98E7C8 #A098E7 #E798B7
square
#DFE798 #98E7C8 #A098E7 #E798B7
split-complementary
#DFE798 #98B7E7 #C898E7
monochromatic
#C0D035 #D0DB66 #DFE798 #EEF3CA #F7F9E6

Accessibility & contrast

On white

1.31
#DFE798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.02
#DFE798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE798
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE798#FFFFFF#000000##000000
##DFE7981.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2E092
Deuteranopia (green-blind)
#F2E29B
Tritanopia (blue-blind)
#E8DED3
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #dfe798;
/* rgb */ color: rgb(223, 231, 152);
/* oklch */ color: oklch(90.4% 0.101 113.1);
Tailwind
colors: {
  custom: {
    50: '#eaeeb7',
    500: '#dfe798',
    950: '#000000',
  },
}
SCSS
$custom: #dfe798;
$custom-light: #eaeeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe798",
  "rgb": {
    "r": 223,
    "g": 231,
    "b": 152
  },
  "hsl": {
    "h": 66.076,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.90381,
    "c": 0.10106,
    "h": 113.1
  },
  "luminance": 0.75107
}

Semantic roles & 50–950 ramp

primary
#DFE798
secondary
#6C62C1
accent
#1CCA2D
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161611
muted
#848581

Preview Lab

Preview with #DFE798

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

Preview Lab → · Contrast checker → · Palette generator →

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