#EDF86C#EDF86C

#EDF86C is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.4% C 0.163 H 113.2°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#EDF86C
RGBrgb(237, 248, 108)
HSLhsl(65, 91%, 70%)
HSVhsv(65, 56%, 97%)
CMYKcmyk(4.4%, 0%, 56.5%, 2.7%)
CIE-LABlab(94.41, -21.79, 64.59)
CIE-LCHlch(94.41, 68.17, 108.65°)
OKLaboklab(94.43% -0.0642 0.1495)
OKLCHoklch(94.43% 0.163 113.2)
XYZxyz(71.2008, 86.2233, 27.0765)
Luminance0.8622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF86C #776CF8
analogous
#F8BD6C #EDF86C #A7F86C
triadic
#EDF86C #6CEDF8 #F86CED
tetradic
#EDF86C #6CF8BD #776CF8 #F86CA7
square
#EDF86C #6CF8BD #776CF8 #F86CA7
split-complementary
#EDF86C #6CA7F8 #BD6CF8
monochromatic
#CEDF0B #E6F532 #EDF86C #F4FBA6 #FBFEE1

Accessibility & contrast

On white

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

On black

18.24
#EDF86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF86C
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF86C#FFFFFF#000000##000000
##EDF86C1.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5D
Deuteranopia (green-blind)
#FFF174
Tritanopia (blue-blind)
#FBEBDA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #edf86c;
/* rgb */ color: rgb(237, 248, 108);
/* oklch */ color: oklch(94.4% 0.163 113.2);
Tailwind
colors: {
  custom: {
    50: '#f5fa9b',
    500: '#edf86c',
    950: '#000000',
  },
}
SCSS
$custom: #edf86c;
$custom-light: #f5fa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#edf86c",
  "rgb": {
    "r": 237,
    "g": 248,
    "b": 108
  },
  "hsl": {
    "h": 64.714,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.94425,
    "c": 0.16268,
    "h": 113.2
  },
  "luminance": 0.86222
}

Semantic roles & 50–950 ramp

primary
#EDF86C
secondary
#4236D2
accent
#00E612
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EDF86C

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

Preview Lab → · Contrast checker → · Palette generator →

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