#DFE98A#DFE98A

#DFE98A is a very light, moderate yellow. Relative luminance 0.758; OKLCH L 90.6% C 0.119 H 113.7°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#DFE98A
RGBrgb(223, 233, 138)
HSLhsl(66, 68%, 73%)
HSVhsv(66, 41%, 91%)
CMYKcmyk(4.3%, 0%, 40.8%, 8.6%)
CIE-LABlab(89.77, -17.29, 44.97)
CIE-LCHlch(89.77, 48.18, 111.02°)
OKLaboklab(90.57% -0.0479 0.1092)
OKLCHoklch(90.57% 0.119 113.7)
XYZxyz(64.1584, 75.8016, 35.2912)
Luminance0.7580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE98A #948AE9
analogous
#E9C48A #DFE98A #AFE98A
triadic
#DFE98A #8ADFE9 #E98ADF
tetradic
#DFE98A #8AE9C4 #948AE9 #E98AAF
square
#DFE98A #8AE9C4 #948AE9 #E98AAF
split-complementary
#DFE98A #8AAFE9 #C48AE9
monochromatic
#BFD127 #D1DF56 #DFE98A #EDF3BE #F8FAE5

Accessibility & contrast

On white

1.30
#DFE98A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.16
#DFE98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE98A
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE98A#FFFFFF#000000##000000
##DFE98A1.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E183
Deuteranopia (green-blind)
#F5E38E
Tritanopia (blue-blind)
#E9DFD2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #dfe98a;
/* rgb */ color: rgb(223, 233, 138);
/* oklch */ color: oklch(90.6% 0.119 113.7);
Tailwind
colors: {
  custom: {
    50: '#eaf0ad',
    500: '#dfe98a',
    950: '#000000',
  },
}
SCSS
$custom: #dfe98a;
$custom-light: #eaf0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe98a",
  "rgb": {
    "r": 223,
    "g": 233,
    "b": 138
  },
  "hsl": {
    "h": 66.316,
    "s": 68.345,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90573,
    "c": 0.11922,
    "h": 113.7
  },
  "luminance": 0.75801
}

Semantic roles & 50–950 ramp

primary
#DFE98A
secondary
#6054C3
accent
#15D029
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161610
muted
#858581

Preview Lab

Preview with #DFE98A

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

Preview Lab → · Contrast checker → · Palette generator →

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