#DCE798#DCE798

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

Color values

HEX#DCE798
RGBrgb(220, 231, 152)
HSLhsl(68, 62%, 75%)
HSVhsv(68, 34%, 91%)
CMYKcmyk(4.8%, 0%, 34.2%, 9.4%)
CIE-LABlab(89.22, -15.85, 37.29)
CIE-LCHlch(89.22, 40.52, 113.02°)
OKLaboklab(90.15% -0.0428 0.0922)
OKLCHoklch(90.15% 0.102 114.9)
XYZxyz(63.7588, 74.6351, 40.7469)
Luminance0.7463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE798 #A398E7
analogous
#E7CA98 #DCE798 #B5E798
triadic
#DCE798 #98DCE7 #E798DC
tetradic
#DCE798 #98E7CA #A398E7 #E798B5
square
#DCE798 #98E7CA #A398E7 #E798B5
split-complementary
#DCE798 #98B5E7 #CA98E7
monochromatic
#BAD035 #CBDB66 #DCE798 #EDF3CA #F7F9E6

Accessibility & contrast

On white

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

On black

15.93
#DCE798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE798
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE798#FFFFFF#000000##000000
##DCE7981.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dce798;
/* rgb */ color: rgb(220, 231, 152);
/* oklch */ color: oklch(90.1% 0.102 114.9);
Tailwind
colors: {
  custom: {
    50: '#e8eeb7',
    500: '#dce798',
    950: '#000000',
  },
}
SCSS
$custom: #dce798;
$custom-light: #e8eeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dce798",
  "rgb": {
    "r": 220,
    "g": 231,
    "b": 152
  },
  "hsl": {
    "h": 68.354,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.9015,
    "c": 0.10164,
    "h": 114.9
  },
  "luminance": 0.74634
}

Semantic roles & 50–950 ramp

primary
#DCE798
secondary
#6F62C1
accent
#1CCA34
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161611
muted
#848581

Preview Lab

Preview with #DCE798

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

Preview Lab → · Contrast checker → · Palette generator →

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