#E7F966#E7F966

#E7F966 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.1% C 0.170 H 115.6°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#E7F966
RGBrgb(231, 249, 102)
HSLhsl(67, 92%, 69%)
HSVhsv(67, 59%, 98%)
CMYKcmyk(7.2%, 0%, 59%, 2.4%)
CIE-LABlab(94.18, -25.06, 66.75)
CIE-LCHlch(94.18, 71.30, 110.58°)
OKLaboklab(94.12% -0.0736 0.1535)
OKLCHoklch(94.12% 0.17 115.6)
XYZxyz(69.2304, 85.7006, 25.4626)
Luminance0.8570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F966 #7866F9
analogous
#F9C266 #E7F966 #9EF966
triadic
#E7F966 #66E7F9 #F966E7
tetradic
#E7F966 #66F9C2 #7866F9 #F9669E
square
#E7F966 #66F9C2 #7866F9 #F9669E
split-complementary
#E7F966 #669EF9 #C266F9
monochromatic
#C2DC09 #DEF72B #E7F966 #F0FBA1 #F9FEDC

Accessibility & contrast

On white

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

On black

18.14
#E7F966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F966
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F966#FFFFFF#000000##000000
##E7F9661.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED55
Deuteranopia (green-blind)
#FFEF6F
Tritanopia (blue-blind)
#F4ECDA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #e7f966;
/* rgb */ color: rgb(231, 249, 102);
/* oklch */ color: oklch(94.1% 0.170 115.6);
Tailwind
colors: {
  custom: {
    50: '#f1fb97',
    500: '#e7f966',
    950: '#000000',
  },
}
SCSS
$custom: #e7f966;
$custom-light: #f1fb97;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f966",
  "rgb": {
    "r": 231,
    "g": 249,
    "b": 102
  },
  "hsl": {
    "h": 67.347,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.94122,
    "c": 0.17025,
    "h": 115.6
  },
  "luminance": 0.857
}

Semantic roles & 50–950 ramp

primary
#E7F966
secondary
#4430D3
accent
#00E61C
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E7F966

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

Preview Lab → · Contrast checker → · Palette generator →

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