#DCE98B#DCE98B

#DCE98B is a very light, moderate yellow. Relative luminance 0.754; OKLCH L 90.4% C 0.119 H 115.3°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#DCE98B
RGBrgb(220, 233, 139)
HSLhsl(68, 68%, 73%)
HSVhsv(68, 40%, 91%)
CMYKcmyk(5.6%, 0%, 40.3%, 8.6%)
CIE-LABlab(89.56, -18.33, 44.18)
CIE-LCHlch(89.56, 47.83, 112.53°)
OKLaboklab(90.36% -0.0507 0.1074)
OKLCHoklch(90.36% 0.119 115.3)
XYZxyz(63.3148, 75.3582, 35.6313)
Luminance0.7536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE98B #988BE9
analogous
#E9C78B #DCE98B #ADE98B
triadic
#DCE98B #8BDCE9 #E98BDC
tetradic
#DCE98B #8BE9C7 #988BE9 #E98BAD
square
#DCE98B #8BE9C7 #988BE9 #E98BAD
split-complementary
#DCE98B #8BADE9 #C78BE9
monochromatic
#BAD228 #CCDF58 #DCE98B #ECF3BE #F7FAE5

Accessibility & contrast

On white

1.31
#DCE98B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.07
#DCE98B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE98B
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE98B#FFFFFF#000000##000000
##DCE98B1.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E084
Deuteranopia (green-blind)
#F4E28F
Tritanopia (blue-blind)
#E6DFD2
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #dce98b;
/* rgb */ color: rgb(220, 233, 139);
/* oklch */ color: oklch(90.4% 0.119 115.3);
Tailwind
colors: {
  custom: {
    50: '#e8f0ae',
    500: '#dce98b',
    950: '#000000',
  },
}
SCSS
$custom: #dce98b;
$custom-light: #e8f0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#dce98b",
  "rgb": {
    "r": 220,
    "g": 233,
    "b": 139
  },
  "hsl": {
    "h": 68.298,
    "s": 68.116,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90358,
    "c": 0.1188,
    "h": 115.3
  },
  "luminance": 0.75358
}

Semantic roles & 50–950 ramp

primary
#DCE98B
secondary
#6455C3
accent
#15D02F
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161610
muted
#848581

Preview Lab

Preview with #DCE98B

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

Preview Lab → · Contrast checker → · Palette generator →

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