#DCE796#DCE796

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

Color values

HEX#DCE796
RGBrgb(220, 231, 150)
HSLhsl(68, 63%, 75%)
HSVhsv(68, 35%, 91%)
CMYKcmyk(4.8%, 0%, 35.1%, 9.4%)
CIE-LABlab(89.19, -16.09, 38.25)
CIE-LCHlch(89.19, 41.50, 112.81°)
OKLaboklab(90.12% -0.0436 0.0943)
OKLCHoklch(90.12% 0.104 114.8)
XYZxyz(63.5964, 74.5701, 39.8914)
Luminance0.7457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE796 #A196E7
analogous
#E7CA96 #DCE796 #B4E796
triadic
#DCE796 #96DCE7 #E796DC
tetradic
#DCE796 #96E7CA #A196E7 #E796B4
square
#DCE796 #96E7CA #A196E7 #E796B4
split-complementary
#DCE796 #96B4E7 #CA96E7
monochromatic
#BBD032 #CBDC64 #DCE796 #EDF2C8 #F7F9E6

Accessibility & contrast

On white

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

On black

15.91
#DCE796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE796
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE796#FFFFFF#000000##000000
##DCE7961.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dce796;
/* rgb */ color: rgb(220, 231, 150);
/* oklch */ color: oklch(90.1% 0.104 114.8);
Tailwind
colors: {
  custom: {
    50: '#e8eeb5',
    500: '#dce796',
    950: '#000000',
  },
}
SCSS
$custom: #dce796;
$custom-light: #e8eeb5;
$custom-dark: #000000;
JSON
{
  "hex": "#dce796",
  "rgb": {
    "r": 220,
    "g": 231,
    "b": 150
  },
  "hsl": {
    "h": 68.148,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.90115,
    "c": 0.10394,
    "h": 114.8
  },
  "luminance": 0.74569
}

Semantic roles & 50–950 ramp

primary
#DCE796
secondary
#6D60C1
accent
#1BCB33
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161611
muted
#848581

Preview Lab

Preview with #DCE796

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

Preview Lab → · Contrast checker → · Palette generator →

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