#E7E754#E7E754

#E7E754 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.2% C 0.165 H 109.3°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#E7E754
RGBrgb(231, 231, 84)
HSLhsl(60, 75%, 62%)
HSVhsv(60, 64%, 91%)
CMYKcmyk(0%, 0%, 63.6%, 9.4%)
CIE-LABlab(89.29, -17.58, 68.81)
CIE-LCHlch(89.29, 71.02, 104.33°)
OKLaboklab(90.16% -0.0544 0.1554)
OKLCHoklch(90.16% 0.165 109.3)
XYZxyz(63.1332, 74.7826, 19.4946)
Luminance0.7478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E754 #5454E7
analogous
#E79E54 #E7E754 #9EE754
triadic
#E7E754 #54E7E7 #E754E7
tetradic
#E7E754 #54E79E #5454E7 #E7549E
square
#E7E754 #54E79E #5454E7 #E7549E
split-complementary
#E7E754 #549EE7 #9E54E7
monochromatic
#A9A918 #DFDF1F #E7E754 #EFEF8A #F6F6BF

Accessibility & contrast

On white

1.32
#E7E754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.96
#E7E754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E754
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E754#FFFFFF#000000##000000
##E7E7541.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE40
Deuteranopia (green-blind)
#FBE35E
Tritanopia (blue-blind)
#F7D9C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e7e754;
/* rgb */ color: rgb(231, 231, 84);
/* oklch */ color: oklch(90.2% 0.165 109.3);
Tailwind
colors: {
  custom: {
    50: '#f2ee8b',
    500: '#e7e754',
    950: '#000000',
  },
}
SCSS
$custom: #e7e754;
$custom-light: #f2ee8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e754",
  "rgb": {
    "r": 231,
    "g": 231,
    "b": 84
  },
  "hsl": {
    "h": 60,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.90162,
    "c": 0.16468,
    "h": 109.3
  },
  "luminance": 0.74781
}

Semantic roles & 50–950 ramp

primary
#E7E754
secondary
#3535AA
accent
#0ED80E
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E754

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

Preview Lab → · Contrast checker → · Palette generator →

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