#DCE797#DCE797

#DCE797 is a very light, moderate yellow. Relative luminance 0.746; OKLCH L 90.1% C 0.103 H 114.9°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#DCE797
RGBrgb(220, 231, 151)
HSLhsl(68, 63%, 75%)
HSVhsv(68, 35%, 91%)
CMYKcmyk(4.8%, 0%, 34.6%, 9.4%)
CIE-LABlab(89.21, -15.97, 37.77)
CIE-LCHlch(89.21, 41.01, 112.92°)
OKLaboklab(90.13% -0.0432 0.0933)
OKLCHoklch(90.13% 0.103 114.9)
XYZxyz(63.6772, 74.6025, 40.3173)
Luminance0.7460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE797 #A297E7
analogous
#E7CA97 #DCE797 #B4E797
triadic
#DCE797 #97DCE7 #E797DC
tetradic
#DCE797 #97E7CA #A297E7 #E797B4
square
#DCE797 #97E7CA #A297E7 #E797B4
split-complementary
#DCE797 #97B4E7 #CA97E7
monochromatic
#BBD034 #CBDC65 #DCE797 #EDF2C9 #F7F9E6

Accessibility & contrast

On white

1.32
#DCE797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.92
#DCE797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE797
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE797#FFFFFF#000000##000000
##DCE7971.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DF91
Deuteranopia (green-blind)
#F1E19B
Tritanopia (blue-blind)
#E5DED3
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dce797;
/* rgb */ color: rgb(220, 231, 151);
/* oklch */ color: oklch(90.1% 0.103 114.9);
Tailwind
colors: {
  custom: {
    50: '#e8eeb6',
    500: '#dce797',
    950: '#000000',
  },
}
SCSS
$custom: #dce797;
$custom-light: #e8eeb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dce797",
  "rgb": {
    "r": 220,
    "g": 231,
    "b": 151
  },
  "hsl": {
    "h": 68.25,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.90133,
    "c": 0.1028,
    "h": 114.9
  },
  "luminance": 0.74602
}

Semantic roles & 50–950 ramp

primary
#DCE797
secondary
#6E61C1
accent
#1BCA33
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161611
muted
#848581

Preview Lab

Preview with #DCE797

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

Preview Lab → · Contrast checker → · Palette generator →

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