#E7F266#E7F266

#E7F266 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.6% C 0.162 H 113.3°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#E7F266
RGBrgb(231, 242, 102)
HSLhsl(65, 84%, 67%)
HSVhsv(65, 58%, 95%)
CMYKcmyk(4.5%, 0%, 57.9%, 5.1%)
CIE-LABlab(92.33, -21.73, 64.71)
CIE-LCHlch(92.33, 68.27, 108.56°)
OKLaboklab(92.64% -0.0643 0.1492)
OKLCHoklch(92.64% 0.162 113.3)
XYZxyz(67.1070, 81.4537, 24.7548)
Luminance0.8145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F266 #7166F2
analogous
#F2B766 #E7F266 #A1F266
triadic
#E7F266 #66E7F2 #F266E7
tetradic
#E7F266 #66F2B7 #7166F2 #F266A1
square
#E7F266 #66F2B7 #7166F2 #F266A1
split-complementary
#E7F266 #66A1F2 #B766F2
monochromatic
#BECC11 #DEED2E #E7F266 #F0F79E #F9FCD7

Accessibility & contrast

On white

1.21
#E7F266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#E7F266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F266
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F266#FFFFFF#000000##000000
##E7F2661.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE756
Deuteranopia (green-blind)
#FFEB6E
Tritanopia (blue-blind)
#F5E5D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e7f266;
/* rgb */ color: rgb(231, 242, 102);
/* oklch */ color: oklch(92.6% 0.162 113.3);
Tailwind
colors: {
  custom: {
    50: '#f1f697',
    500: '#e7f266',
    950: '#000000',
  },
}
SCSS
$custom: #e7f266;
$custom-light: #f1f697;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f266",
  "rgb": {
    "r": 231,
    "g": 242,
    "b": 102
  },
  "hsl": {
    "h": 64.714,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.9264,
    "c": 0.16242,
    "h": 113.3
  },
  "luminance": 0.81452
}

Semantic roles & 50–950 ramp

primary
#E7F266
secondary
#3F34C9
accent
#05E116
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E7F266

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

Preview Lab → · Contrast checker → · Palette generator →

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