#E7E054#E7E054

#E7E054 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.7% C 0.158 H 106.4°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#E7E054
RGBrgb(231, 224, 84)
HSLhsl(57, 75%, 62%)
HSVhsv(57, 64%, 91%)
CMYKcmyk(0%, 3%, 63.6%, 9.4%)
CIE-LABlab(87.46, -14.15, 66.90)
CIE-LCHlch(87.46, 68.38, 101.94°)
OKLaboklab(88.7% -0.0447 0.1514)
OKLCHoklch(88.7% 0.158 106.4)
XYZxyz(61.2131, 70.9424, 18.8546)
Luminance0.7094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E054 #545BE7
analogous
#E79754 #E7E054 #A5E754
triadic
#E7E054 #54E7E0 #E054E7
tetradic
#E7E054 #54E797 #545BE7 #E754A5
square
#E7E054 #54E797 #545BE7 #E754A5
split-complementary
#E7E054 #54A5E7 #9754E7
monochromatic
#A9A218 #DFD51F #E7E054 #EFEA8A #F6F3BF

Accessibility & contrast

On white

1.38
#E7E054 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#E7E054 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E054
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E054#FFFFFF#000000##000000
##E7E0541.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D842
Deuteranopia (green-blind)
#F5DE5D
Tritanopia (blue-blind)
#F7D2C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e7e054;
/* rgb */ color: rgb(231, 224, 84);
/* oklch */ color: oklch(88.7% 0.158 106.4);
Tailwind
colors: {
  custom: {
    50: '#f2e98b',
    500: '#e7e054',
    950: '#000000',
  },
}
SCSS
$custom: #e7e054;
$custom-light: #f2e98b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e054",
  "rgb": {
    "r": 231,
    "g": 224,
    "b": 84
  },
  "hsl": {
    "h": 57.143,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.887,
    "c": 0.15785,
    "h": 106.4
  },
  "luminance": 0.7094
}

Semantic roles & 50–950 ramp

primary
#E7E054
secondary
#353AAA
accent
#18D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E054

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

Preview Lab → · Contrast checker → · Palette generator →

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