#E7E255#E7E255

#E7E255 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.1% C 0.159 H 107.3°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#E7E255
RGBrgb(231, 226, 85)
HSLhsl(58, 75%, 62%)
HSVhsv(58, 63%, 91%)
CMYKcmyk(0%, 2.2%, 63.2%, 9.4%)
CIE-LABlab(87.99, -15.07, 67.05)
CIE-LCHlch(87.99, 68.73, 102.67°)
OKLaboklab(89.13% -0.0472 0.1519)
OKLCHoklch(89.13% 0.159 107.3)
XYZxyz(61.7932, 72.0395, 19.2425)
Luminance0.7204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E255 #555AE7
analogous
#E79955 #E7E255 #A3E755
triadic
#E7E255 #55E7E2 #E255E7
tetradic
#E7E255 #55E799 #555AE7 #E755A3
square
#E7E255 #55E799 #555AE7 #E755A3
split-complementary
#E7E255 #55A3E7 #9955E7
monochromatic
#AAA518 #DFD920 #E7E255 #EFEB8B #F6F4C0

Accessibility & contrast

On white

1.36
#E7E255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.41
#E7E255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E255
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E255#FFFFFF#000000##000000
##E7E2551.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA43
Deuteranopia (green-blind)
#F7DF5E
Tritanopia (blue-blind)
#F7D4C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e7e255;
/* rgb */ color: rgb(231, 226, 85);
/* oklch */ color: oklch(89.1% 0.159 107.3);
Tailwind
colors: {
  custom: {
    50: '#f2ea8b',
    500: '#e7e255',
    950: '#000000',
  },
}
SCSS
$custom: #e7e255;
$custom-light: #f2ea8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e255",
  "rgb": {
    "r": 231,
    "g": 226,
    "b": 85
  },
  "hsl": {
    "h": 57.945,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.89125,
    "c": 0.15903,
    "h": 107.3
  },
  "luminance": 0.72038
}

Semantic roles & 50–950 ramp

primary
#E7E255
secondary
#3539AB
accent
#15D70E
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E255

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

Preview Lab → · Contrast checker → · Palette generator →

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