#E7E793#E7E793

#E7E793 is a very light, moderate yellow. Relative luminance 0.762; OKLCH L 90.9% C 0.106 H 108.3°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#E7E793
RGBrgb(231, 231, 147)
HSLhsl(60, 64%, 74%)
HSVhsv(60, 36%, 91%)
CMYKcmyk(0%, 0%, 36.4%, 9.4%)
CIE-LABlab(89.97, -12.25, 40.93)
CIE-LCHlch(89.97, 42.72, 106.66°)
OKLaboklab(90.93% -0.0332 0.1003)
OKLCHoklch(90.93% 0.106 108.3)
XYZxyz(66.7981, 76.2486, 38.7967)
Luminance0.7625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E793 #9393E7
analogous
#E7BD93 #E7E793 #BDE793
triadic
#E7E793 #93E7E7 #E793E7
tetradic
#E7E793 #93E7BD #9393E7 #E793BD
square
#E7E793 #93E7BD #9393E7 #E793BD
split-complementary
#E7E793 #93BDE7 #BD93E7
monochromatic
#D1D12F #DCDC61 #E7E793 #F2F2C5 #F9F9E6

Accessibility & contrast

On white

1.29
#E7E793 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.25
#E7E793 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E793
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E793#FFFFFF#000000##000000
##E7E7931.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E08D
Deuteranopia (green-blind)
#F5E497
Tritanopia (blue-blind)
#F2DDD2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e7e793;
/* rgb */ color: rgb(231, 231, 147);
/* oklch */ color: oklch(90.9% 0.106 108.3);
Tailwind
colors: {
  custom: {
    50: '#f0eeb3',
    500: '#e7e793',
    950: '#000000',
  },
}
SCSS
$custom: #e7e793;
$custom-light: #f0eeb3;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e793",
  "rgb": {
    "r": 231,
    "g": 231,
    "b": 147
  },
  "hsl": {
    "h": 60,
    "s": 63.636,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90928,
    "c": 0.10567,
    "h": 108.3
  },
  "luminance": 0.76247
}

Semantic roles & 50–950 ramp

primary
#E7E793
secondary
#5D5DC1
accent
#1ACB1A
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #E7E793

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

Preview Lab → · Contrast checker → · Palette generator →

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