#EDF78A#EDF78A

#EDF78A is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.6% C 0.134 H 113.3°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#EDF78A
RGBrgb(237, 247, 138)
HSLhsl(66, 87%, 75%)
HSVhsv(66, 44%, 97%)
CMYKcmyk(4%, 0%, 44.1%, 3.1%)
CIE-LABlab(94.47, -18.73, 51.05)
CIE-LCHlch(94.47, 54.38, 110.15°)
OKLaboklab(94.58% -0.0527 0.1227)
OKLCHoklch(94.58% 0.134 113.3)
XYZxyz(72.7742, 86.3621, 36.8757)
Luminance0.8636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF78A #948AF7
analogous
#F7CB8A #EDF78A #B6F78A
triadic
#EDF78A #8AEDF7 #F78AED
tetradic
#EDF78A #8AF7CB #948AF7 #F78AB6
square
#EDF78A #8AF7CB #948AF7 #F78AB6
split-complementary
#EDF78A #8AB6F7 #CB8AF7
monochromatic
#DBEF17 #E4F351 #EDF78A #F6FBC3 #FBFDE2

Accessibility & contrast

On white

1.15
#EDF78A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#EDF78A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF78A
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF78A#FFFFFF#000000##000000
##EDF78A1.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE81
Deuteranopia (green-blind)
#FFF08F
Tritanopia (blue-blind)
#F9ECDD
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #edf78a;
/* rgb */ color: rgb(237, 247, 138);
/* oklch */ color: oklch(94.6% 0.134 113.3);
Tailwind
colors: {
  custom: {
    50: '#f4f9ae',
    500: '#edf78a',
    950: '#000000',
  },
}
SCSS
$custom: #edf78a;
$custom-light: #f4f9ae;
$custom-dark: #000000;
JSON
{
  "hex": "#edf78a",
  "rgb": {
    "r": 237,
    "g": 247,
    "b": 138
  },
  "hsl": {
    "h": 65.505,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.94576,
    "c": 0.1335,
    "h": 113.3
  },
  "luminance": 0.86361
}

Semantic roles & 50–950 ramp

primary
#EDF78A
secondary
#5D50D5
accent
#02E416
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #EDF78A

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

Preview Lab → · Contrast checker → · Palette generator →

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