#DEE797#DEE797

#DEE797 is a very light, moderate yellow. Relative luminance 0.749; OKLCH L 90.3% C 0.102 H 113.7°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#DEE797
RGBrgb(222, 231, 151)
HSLhsl(67, 63%, 75%)
HSVhsv(67, 35%, 91%)
CMYKcmyk(3.9%, 0%, 34.6%, 9.4%)
CIE-LABlab(89.35, -15.21, 37.99)
CIE-LCHlch(89.35, 40.93, 111.82°)
OKLaboklab(90.29% -0.0411 0.0938)
OKLCHoklch(90.29% 0.102 113.7)
XYZxyz(64.2863, 74.9165, 40.3459)
Luminance0.7492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEE797 #A097E7
analogous
#E7C897 #DEE797 #B6E797
triadic
#DEE797 #97DEE7 #E797DE
tetradic
#DEE797 #97E7C8 #A097E7 #E797B6
square
#DEE797 #97E7C8 #A097E7 #E797B6
split-complementary
#DEE797 #97B6E7 #C897E7
monochromatic
#BED034 #CEDC65 #DEE797 #EEF2C9 #F7F9E6

Accessibility & contrast

On white

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

On black

15.98
#DEE797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEE797
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEE797#FFFFFF#000000##000000
##DEE7971.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2E091
Deuteranopia (green-blind)
#F2E19B
Tritanopia (blue-blind)
#E7DED3
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dee797;
/* rgb */ color: rgb(222, 231, 151);
/* oklch */ color: oklch(90.3% 0.102 113.7);
Tailwind
colors: {
  custom: {
    50: '#e9eeb6',
    500: '#dee797',
    950: '#000000',
  },
}
SCSS
$custom: #dee797;
$custom-light: #e9eeb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dee797",
  "rgb": {
    "r": 222,
    "g": 231,
    "b": 151
  },
  "hsl": {
    "h": 66.75,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.90286,
    "c": 0.10239,
    "h": 113.7
  },
  "luminance": 0.74916
}

Semantic roles & 50–950 ramp

primary
#DEE797
secondary
#6C61C1
accent
#1BCA2F
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161611
muted
#848581

Preview Lab

Preview with #DEE797

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

Preview Lab → · Contrast checker → · Palette generator →

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