#EDF778#EDF778

#EDF778 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.3% C 0.151 H 113.0°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#EDF778
RGBrgb(237, 247, 120)
HSLhsl(65, 89%, 72%)
HSVhsv(65, 51%, 97%)
CMYKcmyk(4%, 0%, 51.4%, 3.1%)
CIE-LABlab(94.26, -20.37, 59.14)
CIE-LCHlch(94.26, 62.55, 109.00°)
OKLaboklab(94.35% -0.059 0.139)
OKLCHoklch(94.35% 0.151 113)
XYZxyz(71.5774, 85.8834, 30.5722)
Luminance0.8588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF778 #8278F7
analogous
#F7C178 #EDF778 #AEF778
triadic
#EDF778 #78EDF7 #F778ED
tetradic
#EDF778 #78F7C1 #8278F7 #F778AE
square
#EDF778 #78F7C1 #8278F7 #F778AE
split-complementary
#EDF778 #78AEF7 #C178F7
monochromatic
#D6E70E #E5F43E #EDF778 #F5FAB2 #FBFDE2

Accessibility & contrast

On white

1.16
#EDF778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.18
#EDF778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF778
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF778#FFFFFF#000000##000000
##EDF7781.001.1618.1818.18
#FFFFFF1.161.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6C
Deuteranopia (green-blind)
#FFF07F
Tritanopia (blue-blind)
#FAEBDA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #edf778;
/* rgb */ color: rgb(237, 247, 120);
/* oklch */ color: oklch(94.3% 0.151 113.0);
Tailwind
colors: {
  custom: {
    50: '#f5f9a2',
    500: '#edf778',
    950: '#000000',
  },
}
SCSS
$custom: #edf778;
$custom-light: #f5f9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#edf778",
  "rgb": {
    "r": 237,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 64.724,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94347,
    "c": 0.15101,
    "h": 113
  },
  "luminance": 0.85882
}

Semantic roles & 50–950 ramp

primary
#EDF778
secondary
#4C41D3
accent
#00E512
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF778

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

Preview Lab → · Contrast checker → · Palette generator →

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