#E7E362#E7E362

#E7E362 is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.5% C 0.150 H 107.4°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#E7E362
RGBrgb(231, 227, 98)
HSLhsl(58, 73%, 65%)
HSVhsv(58, 58%, 91%)
CMYKcmyk(0%, 1.7%, 57.6%, 9.4%)
CIE-LABlab(88.36, -14.72, 62.02)
CIE-LCHlch(88.36, 63.75, 103.35°)
OKLaboklab(89.46% -0.0448 0.143)
OKLCHoklch(89.46% 0.15 107.4)
XYZxyz(62.6306, 72.8108, 22.3076)
Luminance0.7281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E362 #6266E7
analogous
#E7A062 #E7E362 #A9E762
triadic
#E7E362 #62E7E3 #E362E7
tetradic
#E7E362 #62E7A0 #6266E7 #E762A9
square
#E7E362 #62E7A0 #6266E7 #E762A9
split-complementary
#E7E362 #62A9E7 #A062E7
monochromatic
#B3AF1B #DFDA2D #E7E362 #EFEC97 #F7F6CC

Accessibility & contrast

On white

1.35
#E7E362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.56
#E7E362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E362
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E362#FFFFFF#000000##000000
##E7E3621.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB54
Deuteranopia (green-blind)
#F7E069
Tritanopia (blue-blind)
#F6D6C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e7e362;
/* rgb */ color: rgb(231, 227, 98);
/* oklch */ color: oklch(89.5% 0.150 107.4);
Tailwind
colors: {
  custom: {
    50: '#f1eb93',
    500: '#e7e362',
    950: '#000000',
  },
}
SCSS
$custom: #e7e362;
$custom-light: #f1eb93;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e362",
  "rgb": {
    "r": 231,
    "g": 227,
    "b": 98
  },
  "hsl": {
    "h": 58.195,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89455,
    "c": 0.14982,
    "h": 107.4
  },
  "luminance": 0.72809
}

Semantic roles & 50–950 ramp

primary
#E7E362
secondary
#3A3DB4
accent
#16D610
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7E362

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

Preview Lab → · Contrast checker → · Palette generator →

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