#EDF266#EDF266

#EDF266 is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.1% C 0.161 H 111.1°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#EDF266
RGBrgb(237, 242, 102)
HSLhsl(62, 84%, 67%)
HSVhsv(62, 58%, 95%)
CMYKcmyk(2.1%, 0%, 57.9%, 5.1%)
CIE-LABlab(92.78, -19.35, 65.34)
CIE-LCHlch(92.78, 68.14, 106.49°)
OKLaboklab(93.11% -0.0579 0.1504)
OKLCHoklch(93.11% 0.161 111.1)
XYZxyz(69.0773, 82.4697, 24.8472)
Luminance0.8247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF266 #6B66F2
analogous
#F2B166 #EDF266 #A7F266
triadic
#EDF266 #66EDF2 #F266ED
tetradic
#EDF266 #66F2B1 #6B66F2 #F266A7
square
#EDF266 #66F2B1 #6B66F2 #F266A7
split-complementary
#EDF266 #66A7F2 #B166F2
monochromatic
#C6CC11 #E6ED2E #EDF266 #F4F79E #FAFCD7

Accessibility & contrast

On white

1.20
#EDF266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.49
#EDF266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF266
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF266#FFFFFF#000000##000000
##EDF2661.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE856
Deuteranopia (green-blind)
#FFEC6E
Tritanopia (blue-blind)
#FCE5D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #edf266;
/* rgb */ color: rgb(237, 242, 102);
/* oklch */ color: oklch(93.1% 0.161 111.1);
Tailwind
colors: {
  custom: {
    50: '#f6f697',
    500: '#edf266',
    950: '#000000',
  },
}
SCSS
$custom: #edf266;
$custom-light: #f6f697;
$custom-dark: #000000;
JSON
{
  "hex": "#edf266",
  "rgb": {
    "r": 237,
    "g": 242,
    "b": 102
  },
  "hsl": {
    "h": 62.143,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.93109,
    "c": 0.16113,
    "h": 111.1
  },
  "luminance": 0.82468
}

Semantic roles & 50–950 ramp

primary
#EDF266
secondary
#3934C9
accent
#05E10D
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EDF266

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

Preview Lab → · Contrast checker → · Palette generator →

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