#E7E45B#E7E45B

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

Color values

HEX#E7E45B
RGBrgb(231, 228, 91)
HSLhsl(59, 74%, 63%)
HSVhsv(59, 61%, 91%)
CMYKcmyk(0%, 1.3%, 60.6%, 9.4%)
CIE-LABlab(88.56, -15.68, 65.21)
CIE-LCHlch(88.56, 67.07, 103.52°)
OKLaboklab(89.6% -0.0483 0.1488)
OKLCHoklch(89.6% 0.156 108)
XYZxyz(62.5887, 73.2329, 20.7339)
Luminance0.7323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E45B #5B5EE7
analogous
#E79E5B #E7E45B #A4E75B
triadic
#E7E45B #5BE7E4 #E45BE7
tetradic
#E7E45B #5BE79E #5B5EE7 #E75BA4
square
#E7E45B #5BE79E #5B5EE7 #E75BA4
split-complementary
#E7E45B #5BA4E7 #9E5BE7
monochromatic
#AEAB19 #DFDB26 #E7E45B #EFED90 #F7F6C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7E45B#FFFFFF#000000##000000
##E7E45B1.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)
#F5DB4B
Deuteranopia (green-blind)
#F8E163
Tritanopia (blue-blind)
#F6D6C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e7e45b;
/* rgb */ color: rgb(231, 228, 91);
/* oklch */ color: oklch(89.6% 0.156 108.0);
Tailwind
colors: {
  custom: {
    50: '#f2ec8f',
    500: '#e7e45b',
    950: '#000000',
  },
}
SCSS
$custom: #e7e45b;
$custom-light: #f2ec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e45b",
  "rgb": {
    "r": 231,
    "g": 228,
    "b": 91
  },
  "hsl": {
    "h": 58.714,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.89596,
    "c": 0.15646,
    "h": 108
  },
  "luminance": 0.73231
}

Semantic roles & 50–950 ramp

primary
#E7E45B
secondary
#373AAF
accent
#13D70F
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7E45B

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

Preview Lab → · Contrast checker → · Palette generator →

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