#E7E45A#E7E45A

#E7E45A is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.6% C 0.157 H 108.0°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#E7E45A
RGBrgb(231, 228, 90)
HSLhsl(59, 75%, 63%)
HSVhsv(59, 61%, 91%)
CMYKcmyk(0%, 1.3%, 61%, 9.4%)
CIE-LABlab(88.55, -15.75, 65.62)
CIE-LCHlch(88.55, 67.48, 103.50°)
OKLaboklab(89.59% -0.0486 0.1495)
OKLCHoklch(89.59% 0.157 108)
XYZxyz(62.5459, 73.2158, 20.5082)
Luminance0.7321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E45A #5A5DE7
analogous
#E79D5A #E7E45A #A4E75A
triadic
#E7E45A #5AE7E4 #E45AE7
tetradic
#E7E45A #5AE79D #5A5DE7 #E75AA4
square
#E7E45A #5AE79D #5A5DE7 #E75AA4
split-complementary
#E7E45A #5AA4E7 #9D5AE7
monochromatic
#ADAA19 #DFDB25 #E7E45A #EFED8F #F7F5C5

Accessibility & contrast

On white

1.34
#E7E45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.64
#E7E45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E45A
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E45A#FFFFFF#000000##000000
##E7E45A1.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB49
Deuteranopia (green-blind)
#F8E162
Tritanopia (blue-blind)
#F6D6C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e7e45a;
/* rgb */ color: rgb(231, 228, 90);
/* oklch */ color: oklch(89.6% 0.157 108.0);
Tailwind
colors: {
  custom: {
    50: '#f2ec8e',
    500: '#e7e45a',
    950: '#000000',
  },
}
SCSS
$custom: #e7e45a;
$custom-light: #f2ec8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e45a",
  "rgb": {
    "r": 231,
    "g": 228,
    "b": 90
  },
  "hsl": {
    "h": 58.723,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.89586,
    "c": 0.15723,
    "h": 108
  },
  "luminance": 0.73214
}

Semantic roles & 50–950 ramp

primary
#E7E45A
secondary
#3739AE
accent
#13D70F
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7E45A

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

Preview Lab → · Contrast checker → · Palette generator →

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