#DFE178#DFE178

#DFE178 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.6% C 0.128 H 109.7°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#DFE178
RGBrgb(223, 225, 120)
HSLhsl(61, 64%, 68%)
HSVhsv(61, 47%, 88%)
CMYKcmyk(0.9%, 0%, 46.7%, 11.8%)
CIE-LABlab(87.43, -15.14, 50.77)
CIE-LCHlch(87.43, 52.99, 106.61°)
OKLaboklab(88.64% -0.0434 0.1209)
OKLCHoklch(88.64% 0.128 109.7)
XYZxyz(60.7480, 70.8958, 28.2498)
Luminance0.7089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE178 #7A78E1
analogous
#E1AF78 #DFE178 #AAE178
triadic
#DFE178 #78DFE1 #E178DF
tetradic
#DFE178 #78E1AF #7A78E1 #E178AA
square
#DFE178 #78E1AF #7A78E1 #E178AA
split-complementary
#DFE178 #78AAE1 #AF78E1
monochromatic
#B3B628 #D3D646 #DFE178 #EBECAA #F7F7DC

Accessibility & contrast

On white

1.38
#DFE178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#DFE178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE178
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE178#FFFFFF#000000##000000
##DFE1781.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD96F
Deuteranopia (green-blind)
#F1DD7D
Tritanopia (blue-blind)
#ECD6C9
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #dfe178;
/* rgb */ color: rgb(223, 225, 120);
/* oklch */ color: oklch(88.6% 0.128 109.7);
Tailwind
colors: {
  custom: {
    50: '#ebeaa1',
    500: '#dfe178',
    950: '#000000',
  },
}
SCSS
$custom: #dfe178;
$custom-light: #ebeaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe178",
  "rgb": {
    "r": 223,
    "g": 225,
    "b": 120
  },
  "hsl": {
    "h": 61.143,
    "s": 63.636,
    "l": 67.647
  },
  "oklch": {
    "l": 0.8864,
    "c": 0.12848,
    "h": 109.7
  },
  "luminance": 0.70894
}

Semantic roles & 50–950 ramp

primary
#DFE178
secondary
#4846B7
accent
#1ACB1D
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#16160F
muted
#858480

Preview Lab

Preview with #DFE178

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

Preview Lab → · Contrast checker → · Palette generator →

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