#E7EA5B#E7EA5B

#E7EA5B is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 90.9% C 0.163 H 110.4°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#E7EA5B
RGBrgb(231, 234, 91)
HSLhsl(61, 77%, 64%)
HSVhsv(61, 61%, 92%)
CMYKcmyk(1.3%, 0%, 61.1%, 8.2%)
CIE-LABlab(90.13, -18.61, 66.90)
CIE-LCHlch(90.13, 69.44, 105.55°)
OKLaboklab(90.85% -0.0566 0.1524)
OKLCHoklch(90.85% 0.163 110.4)
XYZxyz(64.2680, 76.5915, 21.2937)
Luminance0.7659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EA5B #5E5BEA
analogous
#EAA55B #E7EA5B #9FEA5B
triadic
#E7EA5B #5BE7EA #EA5BE7
tetradic
#E7EA5B #5BEAA5 #5E5BEA #EA5B9F
square
#E7EA5B #5BEAA5 #5E5BEA #EA5B9F
split-complementary
#E7EA5B #5B9FEA #A55BEA
monochromatic
#B0B417 #DFE325 #E7EA5B #EFF191 #F7F8C8

Accessibility & contrast

On white

1.29
#E7EA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.32
#E7EA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EA5B
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EA5B#FFFFFF#000000##000000
##E7EA5B1.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE049
Deuteranopia (green-blind)
#FCE564
Tritanopia (blue-blind)
#F6DCCC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e7ea5b;
/* rgb */ color: rgb(231, 234, 91);
/* oklch */ color: oklch(90.9% 0.163 110.4);
Tailwind
colors: {
  custom: {
    50: '#f2f08f',
    500: '#e7ea5b',
    950: '#000000',
  },
}
SCSS
$custom: #e7ea5b;
$custom-light: #f2f08f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ea5b",
  "rgb": {
    "r": 231,
    "g": 234,
    "b": 91
  },
  "hsl": {
    "h": 61.259,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.90852,
    "c": 0.16256,
    "h": 110.4
  },
  "luminance": 0.7659
}

Semantic roles & 50–950 ramp

primary
#E7EA5B
secondary
#3836B4
accent
#0CDA10
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E7EA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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