#E7F962#E7F962

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

Color values

HEX#E7F962
RGBrgb(231, 249, 98)
HSLhsl(67, 93%, 68%)
HSVhsv(67, 61%, 98%)
CMYKcmyk(7.2%, 0%, 60.6%, 2.4%)
CIE-LABlab(94.15, -25.34, 68.36)
CIE-LCHlch(94.15, 72.91, 110.33°)
OKLaboklab(94.08% -0.0748 0.1564)
OKLCHoklch(94.08% 0.173 115.6)
XYZxyz(69.0368, 85.6231, 24.4430)
Luminance0.8562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F962 #7462F9
analogous
#F9BF62 #E7F962 #9CF962
triadic
#E7F962 #62E7F9 #F962E7
tetradic
#E7F962 #62F9BF #7462F9 #F9629C
square
#E7F962 #62F9BF #7462F9 #F9629C
split-complementary
#E7F962 #629CF9 #BF62F9
monochromatic
#C0D808 #DEF727 #E7F962 #F0FB9D #F9FED8

Accessibility & contrast

On white

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

On black

18.12
#E7F962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F962
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F962#FFFFFF#000000##000000
##E7F9621.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED50
Deuteranopia (green-blind)
#FFEF6C
Tritanopia (blue-blind)
#F4ECD9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #e7f962;
/* rgb */ color: rgb(231, 249, 98);
/* oklch */ color: oklch(94.1% 0.173 115.6);
Tailwind
colors: {
  custom: {
    50: '#f2fb95',
    500: '#e7f962',
    950: '#000000',
  },
}
SCSS
$custom: #e7f962;
$custom-light: #f2fb95;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f962",
  "rgb": {
    "r": 231,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 67.152,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.94084,
    "c": 0.17338,
    "h": 115.6
  },
  "luminance": 0.85622
}

Semantic roles & 50–950 ramp

primary
#E7F962
secondary
#412DD2
accent
#00E61B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E7F962

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

Preview Lab → · Contrast checker → · Palette generator →

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