#DFE796#DFE796

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

Color values

HEX#DFE796
RGBrgb(223, 231, 150)
HSLhsl(66, 63%, 75%)
HSVhsv(66, 35%, 91%)
CMYKcmyk(3.5%, 0%, 35.1%, 9.4%)
CIE-LABlab(89.41, -14.95, 38.59)
CIE-LCHlch(89.41, 41.38, 111.18°)
OKLaboklab(90.35% -0.0405 0.0951)
OKLCHoklch(90.35% 0.103 113.1)
XYZxyz(64.5127, 75.0426, 39.9344)
Luminance0.7504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE796 #9E96E7
analogous
#E7C796 #DFE796 #B7E796
triadic
#DFE796 #96DFE7 #E796DF
tetradic
#DFE796 #96E7C7 #9E96E7 #E796B7
square
#DFE796 #96E7C7 #9E96E7 #E796B7
split-complementary
#DFE796 #96B7E7 #C796E7
monochromatic
#C1D032 #D0DC64 #DFE796 #EEF2C8 #F7F9E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFE796#FFFFFF#000000##000000
##DFE7961.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)
#F2E090
Deuteranopia (green-blind)
#F2E29A
Tritanopia (blue-blind)
#E8DED3
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #dfe796;
/* rgb */ color: rgb(223, 231, 150);
/* oklch */ color: oklch(90.3% 0.103 113.1);
Tailwind
colors: {
  custom: {
    50: '#eaeeb5',
    500: '#dfe796',
    950: '#000000',
  },
}
SCSS
$custom: #dfe796;
$custom-light: #eaeeb5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe796",
  "rgb": {
    "r": 223,
    "g": 231,
    "b": 150
  },
  "hsl": {
    "h": 65.926,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.90347,
    "c": 0.10336,
    "h": 113.1
  },
  "luminance": 0.75042
}

Semantic roles & 50–950 ramp

primary
#DFE796
secondary
#6A60C1
accent
#1BCB2C
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161611
muted
#848581

Preview Lab

Preview with #DFE796

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

Preview Lab → · Contrast checker → · Palette generator →

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