#E7EB51#E7EB51

#E7EB51 is a very light, vivid yellow. Relative luminance 0.770; OKLCH L 91.0% C 0.171 H 110.8°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#E7EB51
RGBrgb(231, 235, 81)
HSLhsl(62, 79%, 62%)
HSVhsv(62, 66%, 92%)
CMYKcmyk(1.7%, 0%, 65.5%, 7.8%)
CIE-LABlab(90.32, -19.70, 71.03)
CIE-LCHlch(90.32, 73.71, 105.50°)
OKLaboklab(90.98% -0.0606 0.1596)
OKLCHoklch(90.98% 0.171 110.8)
XYZxyz(64.1505, 77.0013, 19.2664)
Luminance0.7700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EB51 #5551EB
analogous
#EBA251 #E7EB51 #9AEB51
triadic
#E7EB51 #51E7EB #EB51E7
tetradic
#E7EB51 #51EBA2 #5551EB #EB519A
square
#E7EB51 #51EBA2 #5551EB #EB519A
split-complementary
#E7EB51 #519AEB #A251EB
monochromatic
#AAAE14 #DFE51A #E7EB51 #EFF188 #F6F8BF

Accessibility & contrast

On white

1.28
#E7EB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.40
#E7EB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EB51
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EB51#FFFFFF#000000##000000
##E7EB511.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE13B
Deuteranopia (green-blind)
#FEE55C
Tritanopia (blue-blind)
#F6DDCC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e7eb51;
/* rgb */ color: rgb(231, 235, 81);
/* oklch */ color: oklch(91.0% 0.171 110.8);
Tailwind
colors: {
  custom: {
    50: '#f2f18a',
    500: '#e7eb51',
    950: '#000000',
  },
}
SCSS
$custom: #e7eb51;
$custom-light: #f2f18a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7eb51",
  "rgb": {
    "r": 231,
    "g": 235,
    "b": 81
  },
  "hsl": {
    "h": 61.558,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.90979,
    "c": 0.17078,
    "h": 110.8
  },
  "luminance": 0.77
}

Semantic roles & 50–950 ramp

primary
#E7EB51
secondary
#3532AE
accent
#0ADC0F
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E7EB51

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

Preview Lab → · Contrast checker → · Palette generator →

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