#E7E862#E7E862

#E7E862 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.5% C 0.155 H 109.5°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#E7E862
RGBrgb(231, 232, 98)
HSLhsl(60, 74%, 65%)
HSVhsv(60, 58%, 91%)
CMYKcmyk(0.4%, 0%, 57.8%, 9%)
CIE-LABlab(89.67, -17.17, 63.47)
CIE-LCHlch(89.67, 65.75, 105.14°)
OKLaboklab(90.5% -0.0518 0.146)
OKLCHoklch(90.5% 0.155 109.5)
XYZxyz(64.0180, 75.5857, 22.7701)
Luminance0.7558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E862 #6362E8
analogous
#E8A662 #E7E862 #A4E862
triadic
#E7E862 #62E7E8 #E862E7
tetradic
#E7E862 #62E8A6 #6362E8 #E862A4
square
#E7E862 #62E8A6 #6362E8 #E862A4
split-complementary
#E7E862 #62A4E8 #A662E8
monochromatic
#B4B51B #DFE02D #E7E862 #EFF097 #F7F8CD

Accessibility & contrast

On white

1.30
#E7E862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.12
#E7E862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E862
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E862#FFFFFF#000000##000000
##E7E8621.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF53
Deuteranopia (green-blind)
#FAE46A
Tritanopia (blue-blind)
#F6DBCB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e7e862;
/* rgb */ color: rgb(231, 232, 98);
/* oklch */ color: oklch(90.5% 0.155 109.5);
Tailwind
colors: {
  custom: {
    50: '#f1ef93',
    500: '#e7e862',
    950: '#000000',
  },
}
SCSS
$custom: #e7e862;
$custom-light: #f1ef93;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e862",
  "rgb": {
    "r": 231,
    "g": 232,
    "b": 98
  },
  "hsl": {
    "h": 60.448,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90498,
    "c": 0.15495,
    "h": 109.5
  },
  "luminance": 0.75584
}

Semantic roles & 50–950 ramp

primary
#E7E862
secondary
#3A39B5
accent
#0FD710
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E7E862

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

Preview Lab → · Contrast checker → · Palette generator →

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