#EDF478#EDF478

#EDF478 is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.7% C 0.148 H 111.8°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#EDF478
RGBrgb(237, 244, 120)
HSLhsl(63, 85%, 71%)
HSVhsv(63, 51%, 96%)
CMYKcmyk(2.9%, 0%, 50.8%, 4.3%)
CIE-LABlab(93.48, -18.92, 58.23)
CIE-LCHlch(93.48, 61.22, 108.00°)
OKLaboklab(93.72% -0.0549 0.137)
OKLCHoklch(93.72% 0.148 111.8)
XYZxyz(70.6673, 84.0633, 30.2689)
Luminance0.8406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF478 #7F78F4
analogous
#F4BD78 #EDF478 #AFF478
triadic
#EDF478 #78EDF4 #F478ED
tetradic
#EDF478 #78F4BD #7F78F4 #F478AF
square
#EDF478 #78F4BD #7F78F4 #F478AF
split-complementary
#EDF478 #78AFF4 #BD78F4
monochromatic
#D4DF12 #E5EF3F #EDF478 #F5F9B1 #FBFDE3

Accessibility & contrast

On white

1.18
#EDF478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.81
#EDF478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF478
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF478#FFFFFF#000000##000000
##EDF4781.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FFEE7F
Tritanopia (blue-blind)
#FAE8D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #edf478;
/* rgb */ color: rgb(237, 244, 120);
/* oklch */ color: oklch(93.7% 0.148 111.8);
Tailwind
colors: {
  custom: {
    50: '#f5f7a2',
    500: '#edf478',
    950: '#000000',
  },
}
SCSS
$custom: #edf478;
$custom-light: #f5f7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#edf478",
  "rgb": {
    "r": 237,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 63.387,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.9372,
    "c": 0.14761,
    "h": 111.8
  },
  "luminance": 0.84062
}

Semantic roles & 50–950 ramp

primary
#EDF478
secondary
#4941CF
accent
#04E111
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF478

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

Preview Lab → · Contrast checker → · Palette generator →

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