#EDF878#EDF878

#EDF878 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.6% C 0.152 H 113.4°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#EDF878
RGBrgb(237, 248, 120)
HSLhsl(65, 90%, 72%)
HSVhsv(65, 52%, 97%)
CMYKcmyk(4.4%, 0%, 51.6%, 2.7%)
CIE-LABlab(94.52, -20.85, 59.45)
CIE-LCHlch(94.52, 63.00, 109.33°)
OKLaboklab(94.56% -0.0603 0.1397)
OKLCHoklch(94.56% 0.152 113.4)
XYZxyz(71.8840, 86.4966, 30.6744)
Luminance0.8649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF878 #8378F8
analogous
#F8C378 #EDF878 #ADF878
triadic
#EDF878 #78EDF8 #F878ED
tetradic
#EDF878 #78F8C3 #8378F8 #F878AD
square
#EDF878 #78F8C3 #8378F8 #F878AD
split-complementary
#EDF878 #78ADF8 #C378F8
monochromatic
#D6E90C #E5F53E #EDF878 #F5FBB2 #FBFDE2

Accessibility & contrast

On white

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

On black

18.30
#EDF878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF878
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF878#FFFFFF#000000##000000
##EDF8781.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6C
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#FAECDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #edf878;
/* rgb */ color: rgb(237, 248, 120);
/* oklch */ color: oklch(94.6% 0.152 113.4);
Tailwind
colors: {
  custom: {
    50: '#f5faa2',
    500: '#edf878',
    950: '#000000',
  },
}
SCSS
$custom: #edf878;
$custom-light: #f5faa2;
$custom-dark: #000000;
JSON
{
  "hex": "#edf878",
  "rgb": {
    "r": 237,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 65.156,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94556,
    "c": 0.15215,
    "h": 113.4
  },
  "luminance": 0.86495
}

Semantic roles & 50–950 ramp

primary
#EDF878
secondary
#4D40D4
accent
#00E614
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF878

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

Preview Lab → · Contrast checker → · Palette generator →

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