#E8E262#E8E262

#E8E262 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.3% C 0.149 H 106.5°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#E8E262
RGBrgb(232, 226, 98)
HSLhsl(57, 74%, 65%)
HSVhsv(57, 58%, 91%)
CMYKcmyk(0%, 2.6%, 57.8%, 9%)
CIE-LABlab(88.18, -13.82, 61.84)
CIE-LCHlch(88.18, 63.37, 102.60°)
OKLaboklab(89.33% -0.0423 0.1425)
OKLCHoklch(89.33% 0.149 106.5)
XYZxyz(62.6816, 72.4323, 22.2319)
Luminance0.7243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E262 #6268E8
analogous
#E89F62 #E8E262 #ABE862
triadic
#E8E262 #62E8E2 #E262E8
tetradic
#E8E262 #62E89F #6268E8 #E862AB
square
#E8E262 #62E89F #6268E8 #E862AB
split-complementary
#E8E262 #62ABE8 #9F62E8
monochromatic
#B5AE1B #E0D82D #E8E262 #F0EC97 #F8F6CD

Accessibility & contrast

On white

1.36
#E8E262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.49
#E8E262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E262
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E262#FFFFFF#000000##000000
##E8E2621.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA54
Deuteranopia (green-blind)
#F6E069
Tritanopia (blue-blind)
#F7D5C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e8e262;
/* rgb */ color: rgb(232, 226, 98);
/* oklch */ color: oklch(89.3% 0.149 106.5);
Tailwind
colors: {
  custom: {
    50: '#f2ea93',
    500: '#e8e262',
    950: '#000000',
  },
}
SCSS
$custom: #e8e262;
$custom-light: #f2ea93;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e262",
  "rgb": {
    "r": 232,
    "g": 226,
    "b": 98
  },
  "hsl": {
    "h": 57.313,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8933,
    "c": 0.1487,
    "h": 106.5
  },
  "luminance": 0.7243
}

Semantic roles & 50–950 ramp

primary
#E8E262
secondary
#393FB5
accent
#18D70F
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E8E262

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

Preview Lab → · Contrast checker → · Palette generator →

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