#E7EA98#E7EA98

#E7EA98 is a very light, moderate yellow. Relative luminance 0.781; OKLCH L 91.6% C 0.104 H 110.1°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#E7EA98
RGBrgb(231, 234, 152)
HSLhsl(62, 66%, 76%)
HSVhsv(62, 35%, 92%)
CMYKcmyk(1.3%, 0%, 35%, 8.2%)
CIE-LABlab(90.83, -13.17, 39.54)
CIE-LCHlch(90.83, 41.67, 108.42°)
OKLaboklab(91.63% -0.0355 0.0973)
OKLCHoklch(91.63% 0.104 110.1)
XYZxyz(68.0459, 78.1027, 41.1904)
Luminance0.7810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EA98 #9B98EA
analogous
#EAC498 #E7EA98 #BEEA98
triadic
#E7EA98 #98E7EA #EA98E7
tetradic
#E7EA98 #98EAC4 #9B98EA #EA98BE
square
#E7EA98 #98EAC4 #9B98EA #EA98BE
split-complementary
#E7EA98 #98BEEA #C498EA
monochromatic
#CFD532 #DBE065 #E7EA98 #F3F4CB #F9FAE6

Accessibility & contrast

On white

1.26
#E7EA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#E7EA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EA98
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EA98#FFFFFF#000000##000000
##E7EA981.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E392
Deuteranopia (green-blind)
#F7E69B
Tritanopia (blue-blind)
#F2E1D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e7ea98;
/* rgb */ color: rgb(231, 234, 152);
/* oklch */ color: oklch(91.6% 0.104 110.1);
Tailwind
colors: {
  custom: {
    50: '#eff0b7',
    500: '#e7ea98',
    950: '#000000',
  },
}
SCSS
$custom: #e7ea98;
$custom-light: #eff0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ea98",
  "rgb": {
    "r": 231,
    "g": 234,
    "b": 152
  },
  "hsl": {
    "h": 62.195,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.91629,
    "c": 0.10361,
    "h": 110.1
  },
  "luminance": 0.78102
}

Semantic roles & 50–950 ramp

primary
#E7EA98
secondary
#6561C5
accent
#18CE1E
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #E7EA98

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

Preview Lab → · Contrast checker → · Palette generator →

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