#E7E45D#E7E45D

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

Color values

HEX#E7E45D
RGBrgb(231, 228, 93)
HSLhsl(59, 74%, 64%)
HSVhsv(59, 60%, 91%)
CMYKcmyk(0%, 1.3%, 59.7%, 9.4%)
CIE-LABlab(88.58, -15.55, 64.39)
CIE-LCHlch(88.58, 66.25, 103.58°)
OKLaboklab(89.61% -0.0477 0.1474)
OKLCHoklch(89.61% 0.155 108)
XYZxyz(62.6762, 73.2679, 21.1943)
Luminance0.7327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E45D #5D60E7
analogous
#E79F5D #E7E45D #A5E75D
triadic
#E7E45D #5DE7E4 #E45DE7
tetradic
#E7E45D #5DE79F #5D60E7 #E75DA5
square
#E7E45D #5DE79F #5D60E7 #E75DA5
split-complementary
#E7E45D #5DA5E7 #9F5DE7
monochromatic
#B0AC1A #DFDB28 #E7E45D #EFED92 #F7F6C8

Accessibility & contrast

On white

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

On black

15.65
#E7E45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E45D
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E45D#FFFFFF#000000##000000
##E7E45D1.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7e45d;
/* rgb */ color: rgb(231, 228, 93);
/* oklch */ color: oklch(89.6% 0.155 108.0);
Tailwind
colors: {
  custom: {
    50: '#f2ec90',
    500: '#e7e45d',
    950: '#000000',
  },
}
SCSS
$custom: #e7e45d;
$custom-light: #f2ec90;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e45d",
  "rgb": {
    "r": 231,
    "g": 228,
    "b": 93
  },
  "hsl": {
    "h": 58.696,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.89614,
    "c": 0.15489,
    "h": 108
  },
  "luminance": 0.73266
}

Semantic roles & 50–950 ramp

primary
#E7E45D
secondary
#383AB0
accent
#14D60F
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7E45D

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

Preview Lab → · Contrast checker → · Palette generator →

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