#EDF87C#EDF87C

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

Color values

HEX#EDF87C
RGBrgb(237, 248, 124)
HSLhsl(65, 90%, 73%)
HSVhsv(65, 50%, 97%)
CMYKcmyk(4.4%, 0%, 50%, 2.7%)
CIE-LABlab(94.57, -20.51, 57.69)
CIE-LCHlch(94.57, 61.22, 109.57°)
OKLaboklab(94.6% -0.059 0.1362)
OKLCHoklch(94.6% 0.148 113.4)
XYZxyz(72.1318, 86.5957, 31.9797)
Luminance0.8659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF87C #877CF8
analogous
#F8C57C #EDF87C #AFF87C
triadic
#EDF87C #7CEDF8 #F87CED
tetradic
#EDF87C #7CF8C5 #877CF8 #F87CAF
square
#EDF87C #7CF8C5 #877CF8 #F87CAF
split-complementary
#EDF87C #7CAFF8 #C57CF8
monochromatic
#D9ED0D #E5F542 #EDF87C #F5FBB6 #FBFDE2

Accessibility & contrast

On white

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

On black

18.32
#EDF87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF87C
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF87C#FFFFFF#000000##000000
##EDF87C1.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE71
Deuteranopia (green-blind)
#FFF183
Tritanopia (blue-blind)
#FAECDC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #edf87c;
/* rgb */ color: rgb(237, 248, 124);
/* oklch */ color: oklch(94.6% 0.148 113.4);
Tailwind
colors: {
  custom: {
    50: '#f5faa5',
    500: '#edf87c',
    950: '#000000',
  },
}
SCSS
$custom: #edf87c;
$custom-light: #f5faa5;
$custom-dark: #000000;
JSON
{
  "hex": "#edf87c",
  "rgb": {
    "r": 237,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 65.323,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94603,
    "c": 0.14844,
    "h": 113.4
  },
  "luminance": 0.86595
}

Semantic roles & 50–950 ramp

primary
#EDF87C
secondary
#5144D4
accent
#00E614
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EDF87C

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

Preview Lab → · Contrast checker → · Palette generator →

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