#E7E062#E7E062

#E7E062 is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 88.8% C 0.147 H 106.1°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#E7E062
RGBrgb(231, 224, 98)
HSLhsl(57, 73%, 65%)
HSVhsv(57, 58%, 91%)
CMYKcmyk(0%, 3%, 57.6%, 9.4%)
CIE-LABlab(87.57, -13.24, 61.15)
CIE-LCHlch(87.57, 62.57, 102.21°)
OKLaboklab(88.83% -0.0406 0.1411)
OKLCHoklch(88.83% 0.147 106.1)
XYZxyz(61.8172, 71.1840, 22.0365)
Luminance0.7118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E062 #6269E7
analogous
#E79E62 #E7E062 #ACE762
triadic
#E7E062 #62E7E0 #E062E7
tetradic
#E7E062 #62E79E #6269E7 #E762AC
square
#E7E062 #62E79E #6269E7 #E762AC
split-complementary
#E7E062 #62ACE7 #9E62E7
monochromatic
#B3AB1B #DFD62D #E7E062 #EFEA97 #F7F5CC

Accessibility & contrast

On white

1.38
#E7E062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.24
#E7E062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E062
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E062#FFFFFF#000000##000000
##E7E0621.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D854
Deuteranopia (green-blind)
#F4DE69
Tritanopia (blue-blind)
#F6D3C5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e7e062;
/* rgb */ color: rgb(231, 224, 98);
/* oklch */ color: oklch(88.8% 0.147 106.1);
Tailwind
colors: {
  custom: {
    50: '#f1e993',
    500: '#e7e062',
    950: '#000000',
  },
}
SCSS
$custom: #e7e062;
$custom-light: #f1e993;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e062",
  "rgb": {
    "r": 231,
    "g": 224,
    "b": 98
  },
  "hsl": {
    "h": 56.842,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88831,
    "c": 0.14682,
    "h": 106.1
  },
  "luminance": 0.71182
}

Semantic roles & 50–950 ramp

primary
#E7E062
secondary
#3A40B4
accent
#1AD610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7E062

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

Preview Lab → · Contrast checker → · Palette generator →

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