#E8F262#E8F262

#E8F262 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.7% C 0.165 H 112.9°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#E8F262
RGBrgb(232, 242, 98)
HSLhsl(64, 85%, 67%)
HSVhsv(64, 60%, 95%)
CMYKcmyk(4.1%, 0%, 59.5%, 5.1%)
CIE-LABlab(92.37, -21.61, 66.46)
CIE-LCHlch(92.37, 69.88, 108.01°)
OKLaboklab(92.68% -0.0644 0.1524)
OKLCHoklch(92.68% 0.165 112.9)
XYZxyz(67.2371, 81.5432, 23.7504)
Luminance0.8154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F262 #6C62F2
analogous
#F2B462 #E8F262 #A0F262
triadic
#E8F262 #62E8F2 #F262E8
tetradic
#E8F262 #62F2B4 #6C62F2 #F262A0
square
#E8F262 #62F2B4 #6C62F2 #F262A0
split-complementary
#E8F262 #62A0F2 #B462F2
monochromatic
#BCC911 #E0ED29 #E8F262 #F0F79B #F9FBD3

Accessibility & contrast

On white

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

On black

17.31
#E8F262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F262
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F262#FFFFFF#000000##000000
##E8F2621.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE751
Deuteranopia (green-blind)
#FFEB6B
Tritanopia (blue-blind)
#F6E5D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e8f262;
/* rgb */ color: rgb(232, 242, 98);
/* oklch */ color: oklch(92.7% 0.165 112.9);
Tailwind
colors: {
  custom: {
    50: '#f2f694',
    500: '#e8f262',
    950: '#000000',
  },
}
SCSS
$custom: #e8f262;
$custom-light: #f2f694;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f262",
  "rgb": {
    "r": 232,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 64.167,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.92679,
    "c": 0.1654,
    "h": 112.9
  },
  "luminance": 0.81542
}

Semantic roles & 50–950 ramp

primary
#E8F262
secondary
#3D33C6
accent
#04E114
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E8F262

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

Preview Lab → · Contrast checker → · Palette generator →

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