#DCDF98#DCDF98

#DCDF98 is a very light, moderate yellow. Relative luminance 0.703; OKLCH L 88.5% C 0.091 H 110.2°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#DCDF98
RGBrgb(220, 223, 152)
HSLhsl(63, 53%, 74%)
HSVhsv(63, 32%, 87%)
CMYKcmyk(1.3%, 0%, 31.8%, 12.5%)
CIE-LABlab(87.12, -11.87, 34.54)
CIE-LCHlch(87.12, 36.52, 108.97°)
OKLaboklab(88.48% -0.0315 0.0858)
OKLCHoklch(88.48% 0.091 110.2)
XYZxyz(61.5707, 70.2589, 40.0175)
Luminance0.7026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDF98 #9B98DF
analogous
#DFBE98 #DCDF98 #B8DF98
triadic
#DCDF98 #98DCDF #DF98DC
tetradic
#DCDF98 #98DFBE #9B98DF #DF98B8
square
#DCDF98 #98DFBE #9B98DF #DF98B8
split-complementary
#DCDF98 #98B8DF #BE98DF
monochromatic
#BBC13C #CCD069 #DCDF98 #ECEEC7 #F7F8E8

Accessibility & contrast

On white

1.40
#DCDF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#DCDF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDF98
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDF98#FFFFFF#000000##000000
##DCDF981.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD993
Deuteranopia (green-blind)
#EADB9B
Tritanopia (blue-blind)
#E5D7CD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dcdf98;
/* rgb */ color: rgb(220, 223, 152);
/* oklch */ color: oklch(88.5% 0.091 110.2);
Tailwind
colors: {
  custom: {
    50: '#e7e8b7',
    500: '#dcdf98',
    950: '#000000',
  },
}
SCSS
$custom: #dcdf98;
$custom-light: #e7e8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdf98",
  "rgb": {
    "r": 220,
    "g": 223,
    "b": 152
  },
  "hsl": {
    "h": 62.535,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.88481,
    "c": 0.09136,
    "h": 110.2
  },
  "luminance": 0.70258
}

Semantic roles & 50–950 ramp

primary
#DCDF98
secondary
#6764B7
accent
#25C02C
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DCDF98

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

Preview Lab → · Contrast checker → · Palette generator →

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