#E7E462#E7E462

#E7E462 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.7% C 0.151 H 107.9°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#E7E462
RGBrgb(231, 228, 98)
HSLhsl(59, 73%, 65%)
HSVhsv(59, 58%, 91%)
CMYKcmyk(0%, 1.3%, 57.6%, 9.4%)
CIE-LABlab(88.62, -15.21, 62.31)
CIE-LCHlch(88.62, 64.14, 103.72°)
OKLaboklab(89.66% -0.0462 0.1436)
OKLCHoklch(89.66% 0.151 107.9)
XYZxyz(62.9049, 73.3594, 22.3991)
Luminance0.7336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E462 #6265E7
analogous
#E7A262 #E7E462 #A7E762
triadic
#E7E462 #62E7E4 #E462E7
tetradic
#E7E462 #62E7A2 #6265E7 #E762A7
square
#E7E462 #62E7A2 #6265E7 #E762A7
split-complementary
#E7E462 #62A7E7 #A262E7
monochromatic
#B3B01B #DFDB2D #E7E462 #EFED97 #F7F6CC

Accessibility & contrast

On white

1.34
#E7E462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.67
#E7E462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E462
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E462#FFFFFF#000000##000000
##E7E4621.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC54
Deuteranopia (green-blind)
#F7E169
Tritanopia (blue-blind)
#F6D7C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e7e462;
/* rgb */ color: rgb(231, 228, 98);
/* oklch */ color: oklch(89.7% 0.151 107.9);
Tailwind
colors: {
  custom: {
    50: '#f1ec93',
    500: '#e7e462',
    950: '#000000',
  },
}
SCSS
$custom: #e7e462;
$custom-light: #f1ec93;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e462",
  "rgb": {
    "r": 231,
    "g": 228,
    "b": 98
  },
  "hsl": {
    "h": 58.647,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89663,
    "c": 0.15082,
    "h": 107.9
  },
  "luminance": 0.73358
}

Semantic roles & 50–950 ramp

primary
#E7E462
secondary
#3A3CB4
accent
#14D610
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7E462

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

Preview Lab → · Contrast checker → · Palette generator →

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