#E7E562#E7E562

#E7E562 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 89.9% C 0.152 H 108.3°. Best body text is #000000 at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#E7E562
RGBrgb(231, 229, 98)
HSLhsl(59, 73%, 65%)
HSVhsv(59, 58%, 91%)
CMYKcmyk(0%, 0.9%, 57.6%, 9.4%)
CIE-LABlab(88.88, -15.70, 62.60)
CIE-LCHlch(88.88, 64.54, 104.08°)
OKLaboklab(89.87% -0.0476 0.1442)
OKLCHoklch(89.87% 0.152 108.3)
XYZxyz(63.1808, 73.9112, 22.4910)
Luminance0.7391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E562 #6264E7
analogous
#E7A362 #E7E562 #A6E762
triadic
#E7E562 #62E7E5 #E562E7
tetradic
#E7E562 #62E7A3 #6264E7 #E762A6
square
#E7E562 #62E7A3 #6264E7 #E762A6
split-complementary
#E7E562 #62A6E7 #A362E7
monochromatic
#B3B11B #DFDC2D #E7E562 #EFEE97 #F7F7CC

Accessibility & contrast

On white

1.33
#E7E562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.78
#E7E562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E562
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E562#FFFFFF#000000##000000
##E7E5621.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD54
Deuteranopia (green-blind)
#F8E169
Tritanopia (blue-blind)
#F6D8C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e7e562;
/* rgb */ color: rgb(231, 229, 98);
/* oklch */ color: oklch(89.9% 0.152 108.3);
Tailwind
colors: {
  custom: {
    50: '#f1ed93',
    500: '#e7e562',
    950: '#000000',
  },
}
SCSS
$custom: #e7e562;
$custom-light: #f1ed93;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e562",
  "rgb": {
    "r": 231,
    "g": 229,
    "b": 98
  },
  "hsl": {
    "h": 59.098,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89871,
    "c": 0.15185,
    "h": 108.3
  },
  "luminance": 0.73909
}

Semantic roles & 50–950 ramp

primary
#E7E562
secondary
#3A3BB4
accent
#13D610
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7E562

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

Preview Lab → · Contrast checker → · Palette generator →

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