#DFE78A#DFE78A

#DFE78A is a very light, moderate yellow. Relative luminance 0.747; OKLCH L 90.2% C 0.117 H 112.7°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#DFE78A
RGBrgb(223, 231, 138)
HSLhsl(65, 66%, 72%)
HSVhsv(65, 40%, 91%)
CMYKcmyk(3.5%, 0%, 40.3%, 9.4%)
CIE-LABlab(89.24, -16.30, 44.31)
CIE-LCHlch(89.24, 47.22, 110.20°)
OKLaboklab(90.15% -0.0451 0.1077)
OKLCHoklch(90.15% 0.117 112.7)
XYZxyz(63.5954, 74.6757, 35.1035)
Luminance0.7468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE78A #928AE7
analogous
#E7C08A #DFE78A #B1E78A
triadic
#DFE78A #8ADFE7 #E78ADF
tetradic
#DFE78A #8AE7C0 #928AE7 #E78AB1
square
#DFE78A #8AE7C0 #928AE7 #E78AB1
split-complementary
#DFE78A #8AB1E7 #C08AE7
monochromatic
#BFCD2A #D1DD57 #DFE78A #EDF1BD #F8FAE6

Accessibility & contrast

On white

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

On black

15.94
#DFE78A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE78A
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE78A#FFFFFF#000000##000000
##DFE78A1.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF83
Deuteranopia (green-blind)
#F4E18E
Tritanopia (blue-blind)
#EADDD0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dfe78a;
/* rgb */ color: rgb(223, 231, 138);
/* oklch */ color: oklch(90.2% 0.117 112.7);
Tailwind
colors: {
  custom: {
    50: '#eaeead',
    500: '#dfe78a',
    950: '#000000',
  },
}
SCSS
$custom: #dfe78a;
$custom-light: #eaeead;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe78a",
  "rgb": {
    "r": 223,
    "g": 231,
    "b": 138
  },
  "hsl": {
    "h": 65.161,
    "s": 65.957,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90154,
    "c": 0.11674,
    "h": 112.7
  },
  "luminance": 0.74675
}

Semantic roles & 50–950 ramp

primary
#DFE78A
secondary
#5E55C0
accent
#18CE27
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161610
muted
#858581

Preview Lab

Preview with #DFE78A

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

Preview Lab → · Contrast checker → · Palette generator →

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