#EDF866#EDF866

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

Color values

HEX#EDF866
RGBrgb(237, 248, 102)
HSLhsl(65, 91%, 69%)
HSVhsv(65, 59%, 97%)
CMYKcmyk(4.4%, 0%, 58.9%, 2.7%)
CIE-LABlab(94.36, -22.22, 67.07)
CIE-LCHlch(94.36, 70.65, 108.33°)
OKLaboklab(94.37% -0.066 0.154)
OKLCHoklch(94.37% 0.168 113.2)
XYZxyz(70.8924, 86.1000, 25.4523)
Luminance0.8610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF866 #7166F8
analogous
#F8BA66 #EDF866 #A4F866
triadic
#EDF866 #66EDF8 #F866ED
tetradic
#EDF866 #66F8BA #7166F8 #F866A4
square
#EDF866 #66F8BA #7166F8 #F866A4
split-complementary
#EDF866 #66A4F8 #BA66F8
monochromatic
#CADA0A #E6F52B #EDF866 #F4FBA1 #FBFDDB

Accessibility & contrast

On white

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

On black

18.22
#EDF866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF866
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF866#FFFFFF#000000##000000
##EDF8661.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED55
Deuteranopia (green-blind)
#FFF06F
Tritanopia (blue-blind)
#FBEBD9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #edf866;
/* rgb */ color: rgb(237, 248, 102);
/* oklch */ color: oklch(94.4% 0.168 113.2);
Tailwind
colors: {
  custom: {
    50: '#f6fa97',
    500: '#edf866',
    950: '#000000',
  },
}
SCSS
$custom: #edf866;
$custom-light: #f6fa97;
$custom-dark: #000000;
JSON
{
  "hex": "#edf866",
  "rgb": {
    "r": 237,
    "g": 248,
    "b": 102
  },
  "hsl": {
    "h": 64.521,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.94366,
    "c": 0.16759,
    "h": 113.2
  },
  "luminance": 0.86099
}

Semantic roles & 50–950 ramp

primary
#EDF866
secondary
#3D31D2
accent
#00E611
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EDF866

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

Preview Lab → · Contrast checker → · Palette generator →

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