#EDF766#EDF766

#EDF766 is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.2% C 0.167 H 112.9°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#EDF766
RGBrgb(237, 247, 102)
HSLhsl(64, 90%, 68%)
HSVhsv(64, 59%, 97%)
CMYKcmyk(4%, 0%, 58.7%, 3.1%)
CIE-LABlab(94.09, -21.75, 66.78)
CIE-LCHlch(94.09, 70.23, 108.04°)
OKLaboklab(94.16% -0.0647 0.1534)
OKLCHoklch(94.16% 0.167 112.9)
XYZxyz(70.5858, 85.4868, 25.3500)
Luminance0.8548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF766 #7066F7
analogous
#F7B866 #EDF766 #A4F766
triadic
#EDF766 #66EDF7 #F766ED
tetradic
#EDF766 #66F7B8 #7066F7 #F766A4
square
#EDF766 #66F7B8 #7066F7 #F766A4
split-complementary
#EDF766 #66A4F7 #B866F7
monochromatic
#C9D70B #E6F42C #EDF766 #F4FAA0 #FBFDDA

Accessibility & contrast

On white

1.16
#EDF766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.10
#EDF766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF766
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF766#FFFFFF#000000##000000
##EDF7661.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC55
Deuteranopia (green-blind)
#FFF06F
Tritanopia (blue-blind)
#FBEAD8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #edf766;
/* rgb */ color: rgb(237, 247, 102);
/* oklch */ color: oklch(94.2% 0.167 112.9);
Tailwind
colors: {
  custom: {
    50: '#f6f997',
    500: '#edf766',
    950: '#000000',
  },
}
SCSS
$custom: #edf766;
$custom-light: #f6f997;
$custom-dark: #000000;
JSON
{
  "hex": "#edf766",
  "rgb": {
    "r": 237,
    "g": 247,
    "b": 102
  },
  "hsl": {
    "h": 64.138,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94156,
    "c": 0.1665,
    "h": 112.9
  },
  "luminance": 0.85485
}

Semantic roles & 50–950 ramp

primary
#EDF766
secondary
#3C31D0
accent
#00E610
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EDF766

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

Preview Lab → · Contrast checker → · Palette generator →

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