#E7EB4A#E7EB4A

#E7EB4A is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 90.9% C 0.175 H 110.8°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#E7EB4A
RGBrgb(231, 235, 74)
HSLhsl(61, 80%, 61%)
HSVhsv(61, 69%, 92%)
CMYKcmyk(1.7%, 0%, 68.5%, 7.8%)
CIE-LABlab(90.28, -20.07, 73.56)
CIE-LCHlch(90.28, 76.25, 105.26°)
OKLaboklab(90.93% -0.0624 0.1639)
OKLCHoklch(90.93% 0.175 110.8)
XYZxyz(63.9015, 76.9017, 17.9546)
Luminance0.7690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EB4A #4E4AEB
analogous
#EB9F4A #E7EB4A #96EB4A
triadic
#E7EB4A #4AE7EB #EB4AE7
tetradic
#E7EB4A #4AEB9F #4E4AEB #EB4A96
square
#E7EB4A #4AEB9F #4E4AEB #EB4A96
split-complementary
#E7EB4A #4A96EB #9F4AEB
monochromatic
#A4A813 #DADF19 #E7EB4A #EEF181 #F6F7B8

Accessibility & contrast

On white

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

On black

16.38
#E7EB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EB4A
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EB4A#FFFFFF#000000##000000
##E7EB4A1.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE12F
Deuteranopia (green-blind)
#FEE556
Tritanopia (blue-blind)
#F7DDCB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e7eb4a;
/* rgb */ color: rgb(231, 235, 74);
/* oklch */ color: oklch(90.9% 0.175 110.8);
Tailwind
colors: {
  custom: {
    50: '#f2f186',
    500: '#e7eb4a',
    950: '#000000',
  },
}
SCSS
$custom: #e7eb4a;
$custom-light: #f2f186;
$custom-dark: #000000;
JSON
{
  "hex": "#e7eb4a",
  "rgb": {
    "r": 231,
    "g": 235,
    "b": 74
  },
  "hsl": {
    "h": 61.491,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.90928,
    "c": 0.17534,
    "h": 110.8
  },
  "luminance": 0.769
}

Semantic roles & 50–950 ramp

primary
#E7EB4A
secondary
#3330A9
accent
#09DC0E
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E7EB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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