#DFE797#DFE797

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

Color values

HEX#DFE797
RGBrgb(223, 231, 151)
HSLhsl(66, 63%, 75%)
HSVhsv(66, 35%, 91%)
CMYKcmyk(3.5%, 0%, 34.6%, 9.4%)
CIE-LABlab(89.43, -14.84, 38.10)
CIE-LCHlch(89.43, 40.89, 111.27°)
OKLaboklab(90.36% -0.0401 0.094)
OKLCHoklch(90.36% 0.102 113.1)
XYZxyz(64.5936, 75.0750, 40.3603)
Luminance0.7507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE797 #9F97E7
analogous
#E7C797 #DFE797 #B7E797
triadic
#DFE797 #97DFE7 #E797DF
tetradic
#DFE797 #97E7C7 #9F97E7 #E797B7
square
#DFE797 #97E7C7 #9F97E7 #E797B7
split-complementary
#DFE797 #97B7E7 #C797E7
monochromatic
#C0D034 #D0DC65 #DFE797 #EEF2C9 #F7F9E6

Accessibility & contrast

On white

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

On black

16.01
#DFE797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE797
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE797#FFFFFF#000000##000000
##DFE7971.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfe797;
/* rgb */ color: rgb(223, 231, 151);
/* oklch */ color: oklch(90.4% 0.102 113.1);
Tailwind
colors: {
  custom: {
    50: '#eaeeb6',
    500: '#dfe797',
    950: '#000000',
  },
}
SCSS
$custom: #dfe797;
$custom-light: #eaeeb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe797",
  "rgb": {
    "r": 223,
    "g": 231,
    "b": 151
  },
  "hsl": {
    "h": 66,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.90364,
    "c": 0.10221,
    "h": 113.1
  },
  "luminance": 0.75074
}

Semantic roles & 50–950 ramp

primary
#DFE797
secondary
#6B61C1
accent
#1BCA2D
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161611
muted
#848581

Preview Lab

Preview with #DFE797

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

Preview Lab → · Contrast checker → · Palette generator →

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