#DFE997#DFE997

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

Color values

HEX#DFE997
RGBrgb(223, 233, 151)
HSLhsl(67, 65%, 75%)
HSVhsv(67, 35%, 91%)
CMYKcmyk(4.3%, 0%, 35.2%, 8.6%)
CIE-LABlab(89.95, -15.82, 38.79)
CIE-LCHlch(89.95, 41.89, 112.19°)
OKLaboklab(90.78% -0.0429 0.0956)
OKLCHoklch(90.78% 0.105 114.2)
XYZxyz(65.1565, 76.2009, 40.5479)
Luminance0.7620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE997 #A197E9
analogous
#E9CA97 #DFE997 #B6E997
triadic
#DFE997 #97DFE9 #E997DF
tetradic
#DFE997 #97E9CA #A197E9 #E997B6
square
#DFE997 #97E9CA #A197E9 #E997B6
split-complementary
#DFE997 #97B6E9 #CA97E9
monochromatic
#C0D432 #CFDE64 #DFE997 #EFF4CA #F7FAE6

Accessibility & contrast

On white

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

On black

16.24
#DFE997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE997
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE997#FFFFFF#000000##000000
##DFE9971.001.2916.2416.24
#FFFFFF1.291.0021.0021.00
#00000016.2421.001.001.00
##00000016.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E191
Deuteranopia (green-blind)
#F4E39B
Tritanopia (blue-blind)
#E8E0D4
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #dfe997;
/* rgb */ color: rgb(223, 233, 151);
/* oklch */ color: oklch(90.8% 0.105 114.2);
Tailwind
colors: {
  custom: {
    50: '#eaf0b6',
    500: '#dfe997',
    950: '#000000',
  },
}
SCSS
$custom: #dfe997;
$custom-light: #eaf0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe997",
  "rgb": {
    "r": 223,
    "g": 233,
    "b": 151
  },
  "hsl": {
    "h": 67.317,
    "s": 65.079,
    "l": 75.294
  },
  "oklch": {
    "l": 0.90781,
    "c": 0.10478,
    "h": 114.2
  },
  "luminance": 0.762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFE997

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

Preview Lab → · Contrast checker → · Palette generator →

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