#EDF978#EDF978

#EDF978 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 94.8% C 0.153 H 113.7°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#EDF978
RGBrgb(237, 249, 120)
HSLhsl(66, 91%, 72%)
HSVhsv(66, 52%, 98%)
CMYKcmyk(4.8%, 0%, 51.8%, 2.4%)
CIE-LABlab(94.79, -21.33, 59.75)
CIE-LCHlch(94.79, 63.45, 109.64°)
OKLaboklab(94.77% -0.0617 0.1403)
OKLCHoklch(94.77% 0.153 113.7)
XYZxyz(72.1922, 87.1131, 30.7772)
Luminance0.8711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF978 #8478F9
analogous
#F9C478 #EDF978 #ADF978
triadic
#EDF978 #78EDF9 #F978ED
tetradic
#EDF978 #78F9C4 #8478F9 #F978AD
square
#EDF978 #78F9C4 #8478F9 #F978AD
split-complementary
#EDF978 #78ADF9 #C478F9
monochromatic
#D7EC0A #E5F63D #EDF978 #F5FCB3 #FBFEE2

Accessibility & contrast

On white

1.14
#EDF978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.42
#EDF978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF978
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF978#FFFFFF#000000##000000
##EDF9781.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6C
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#FAEDDC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #edf978;
/* rgb */ color: rgb(237, 249, 120);
/* oklch */ color: oklch(94.8% 0.153 113.7);
Tailwind
colors: {
  custom: {
    50: '#f5fba2',
    500: '#edf978',
    950: '#000000',
  },
}
SCSS
$custom: #edf978;
$custom-light: #f5fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#edf978",
  "rgb": {
    "r": 237,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 65.581,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94765,
    "c": 0.15331,
    "h": 113.7
  },
  "luminance": 0.87112
}

Semantic roles & 50–950 ramp

primary
#EDF978
secondary
#4E40D5
accent
#00E615
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF978

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

Preview Lab → · Contrast checker → · Palette generator →

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