#DFE78F#DFE78F

#DFE78F is a very light, moderate yellow. Relative luminance 0.748; OKLCH L 90.2% C 0.111 H 112.9°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#DFE78F
RGBrgb(223, 231, 143)
HSLhsl(65, 65%, 73%)
HSVhsv(65, 38%, 91%)
CMYKcmyk(3.5%, 0%, 38.1%, 9.4%)
CIE-LABlab(89.31, -15.76, 41.94)
CIE-LCHlch(89.31, 44.80, 110.59°)
OKLaboklab(90.23% -0.0432 0.1025)
OKLCHoklch(90.23% 0.111 112.9)
XYZxyz(63.9658, 74.8238, 37.0540)
Luminance0.7482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE78F #978FE7
analogous
#E7C38F #DFE78F #B3E78F
triadic
#DFE78F #8FDFE7 #E78FDF
tetradic
#DFE78F #8FE7C3 #978FE7 #E78FB3
square
#DFE78F #8FE7C3 #978FE7 #E78FB3
split-complementary
#DFE78F #8FB3E7 #C38FE7
monochromatic
#C0CF2C #D1DC5D #DFE78F #EDF2C1 #F8FAE6

Accessibility & contrast

On white

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

On black

15.96
#DFE78F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE78F
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE78F#FFFFFF#000000##000000
##DFE78F1.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DF88
Deuteranopia (green-blind)
#F3E293
Tritanopia (blue-blind)
#E9DDD1
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dfe78f;
/* rgb */ color: rgb(223, 231, 143);
/* oklch */ color: oklch(90.2% 0.111 112.9);
Tailwind
colors: {
  custom: {
    50: '#eaeeb1',
    500: '#dfe78f',
    950: '#000000',
  },
}
SCSS
$custom: #dfe78f;
$custom-light: #eaeeb1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe78f",
  "rgb": {
    "r": 223,
    "g": 231,
    "b": 143
  },
  "hsl": {
    "h": 65.455,
    "s": 64.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.90232,
    "c": 0.11125,
    "h": 112.9
  },
  "luminance": 0.74823
}

Semantic roles & 50–950 ramp

primary
#DFE78F
secondary
#635AC1
accent
#19CD29
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161611
muted
#848581

Preview Lab

Preview with #DFE78F

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

Preview Lab → · Contrast checker → · Palette generator →

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