#DCE397#DCE397

#DCE397 is a very light, moderate yellow. Relative luminance 0.724; OKLCH L 89.3% C 0.098 H 112.7°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#DCE397
RGBrgb(220, 227, 151)
HSLhsl(66, 58%, 74%)
HSVhsv(66, 33%, 89%)
CMYKcmyk(3.1%, 0%, 33.5%, 11%)
CIE-LABlab(88.16, -13.99, 36.40)
CIE-LCHlch(88.16, 39.00, 111.02°)
OKLaboklab(89.3% -0.0376 0.0901)
OKLCHoklch(89.3% 0.098 112.7)
XYZxyz(62.5705, 72.3890, 39.9484)
Luminance0.7239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE397 #9E97E3
analogous
#E3C497 #DCE397 #B6E397
triadic
#DCE397 #97DCE3 #E397DC
tetradic
#DCE397 #97E3C4 #9E97E3 #E397B6
square
#DCE397 #97E3C4 #9E97E3 #E397B6
split-complementary
#DCE397 #97B6E3 #C497E3
monochromatic
#BCC937 #CCD667 #DCE397 #ECF0C7 #F7F9E7

Accessibility & contrast

On white

1.36
#DCE397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.48
#DCE397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE397
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE397#FFFFFF#000000##000000
##DCE3971.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDC92
Deuteranopia (green-blind)
#EEDE9A
Tritanopia (blue-blind)
#E5DAD0
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #dce397;
/* rgb */ color: rgb(220, 227, 151);
/* oklch */ color: oklch(89.3% 0.098 112.7);
Tailwind
colors: {
  custom: {
    50: '#e8ebb6',
    500: '#dce397',
    950: '#000000',
  },
}
SCSS
$custom: #dce397;
$custom-light: #e8ebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dce397",
  "rgb": {
    "r": 220,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 65.526,
    "s": 57.576,
    "l": 74.118
  },
  "oklch": {
    "l": 0.89296,
    "c": 0.0976,
    "h": 112.7
  },
  "luminance": 0.72388
}

Semantic roles & 50–950 ramp

primary
#DCE397
secondary
#6A62BC
accent
#20C530
background
#FEFEFD
surface
#FDFDF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DCE397

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

Preview Lab → · Contrast checker → · Palette generator →

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