#DFE998#DFE998

#DFE998 is a very light, moderate yellow. Relative luminance 0.762; OKLCH L 90.8% C 0.104 H 114.2°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#DFE998
RGBrgb(223, 233, 152)
HSLhsl(67, 65%, 75%)
HSVhsv(67, 35%, 91%)
CMYKcmyk(4.3%, 0%, 34.8%, 8.6%)
CIE-LABlab(89.97, -15.70, 38.31)
CIE-LCHlch(89.97, 41.40, 112.29°)
OKLaboklab(90.8% -0.0425 0.0945)
OKLCHoklch(90.8% 0.104 114.2)
XYZxyz(65.2381, 76.2335, 40.9775)
Luminance0.7623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE998 #A298E9
analogous
#E9CA98 #DFE998 #B6E998
triadic
#DFE998 #98DFE9 #E998DF
tetradic
#DFE998 #98E9CA #A298E9 #E998B6
square
#DFE998 #98E9CA #A298E9 #E998B6
split-complementary
#DFE998 #98B6E9 #CA98E9
monochromatic
#C0D333 #CFDE66 #DFE998 #EFF4CA #F7FAE6

Accessibility & contrast

On white

1.29
#DFE998 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.25
#DFE998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE998
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE998#FFFFFF#000000##000000
##DFE9981.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E192
Deuteranopia (green-blind)
#F4E39C
Tritanopia (blue-blind)
#E8E0D5
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #dfe998;
/* rgb */ color: rgb(223, 233, 152);
/* oklch */ color: oklch(90.8% 0.104 114.2);
Tailwind
colors: {
  custom: {
    50: '#eaf0b7',
    500: '#dfe998',
    950: '#000000',
  },
}
SCSS
$custom: #dfe998;
$custom-light: #eaf0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe998",
  "rgb": {
    "r": 223,
    "g": 233,
    "b": 152
  },
  "hsl": {
    "h": 67.407,
    "s": 64.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.90798,
    "c": 0.10364,
    "h": 114.2
  },
  "luminance": 0.76233
}

Semantic roles & 50–950 ramp

primary
#DFE998
secondary
#6E61C4
accent
#19CD2F
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161611
muted
#848581

Preview Lab

Preview with #DFE998

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

Preview Lab → · Contrast checker → · Palette generator →

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