#E7F256#E7F256

#E7F256 is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.5% C 0.175 H 113.2°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#E7F256
RGBrgb(231, 242, 86)
HSLhsl(64, 86%, 64%)
HSVhsv(64, 64%, 95%)
CMYKcmyk(4.5%, 0%, 64.5%, 5.1%)
CIE-LABlab(92.21, -22.77, 71.06)
CIE-LCHlch(92.21, 74.62, 107.77°)
OKLaboklab(92.5% -0.0688 0.1605)
OKLCHoklch(92.5% 0.175 113.2)
XYZxyz(66.3886, 81.1664, 20.9717)
Luminance0.8116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F256 #6156F2
analogous
#F2AF56 #E7F256 #99F256
triadic
#E7F256 #56E7F2 #F256E7
tetradic
#E7F256 #56F2AF #6156F2 #F25699
square
#E7F256 #56F2AF #6156F2 #F25699
split-complementary
#E7F256 #5699F2 #AF56F2
monochromatic
#B2BF0F #DFEE1D #E7F256 #EFF68F #F7FBC8

Accessibility & contrast

On white

1.22
#E7F256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.23
#E7F256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F256
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F256#FFFFFF#000000##000000
##E7F2561.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE741
Deuteranopia (green-blind)
#FFEA61
Tritanopia (blue-blind)
#F6E4D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e7f256;
/* rgb */ color: rgb(231, 242, 86);
/* oklch */ color: oklch(92.5% 0.175 113.2);
Tailwind
colors: {
  custom: {
    50: '#f2f68d',
    500: '#e7f256',
    950: '#000000',
  },
}
SCSS
$custom: #e7f256;
$custom-light: #f2f68d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f256",
  "rgb": {
    "r": 231,
    "g": 242,
    "b": 86
  },
  "hsl": {
    "h": 64.231,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.92497,
    "c": 0.17458,
    "h": 113.2
  },
  "luminance": 0.81165
}

Semantic roles & 50–950 ramp

primary
#E7F256
secondary
#392FBD
accent
#03E213
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E7F256

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

Preview Lab → · Contrast checker → · Palette generator →

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