#E7E45C#E7E45C

#E7E45C 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#E7E45C
RGBrgb(231, 228, 92)
HSLhsl(59, 74%, 63%)
HSVhsv(59, 60%, 91%)
CMYKcmyk(0%, 1.3%, 60.2%, 9.4%)
CIE-LABlab(88.57, -15.62, 64.80)
CIE-LCHlch(88.57, 66.66, 103.55°)
OKLaboklab(89.61% -0.048 0.1481)
OKLCHoklch(89.61% 0.156 108)
XYZxyz(62.6322, 73.2503, 20.9626)
Luminance0.7325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E45C #5C5FE7
analogous
#E79E5C #E7E45C #A4E75C
triadic
#E7E45C #5CE7E4 #E45CE7
tetradic
#E7E45C #5CE79E #5C5FE7 #E75CA4
square
#E7E45C #5CE79E #5C5FE7 #E75CA4
split-complementary
#E7E45C #5CA4E7 #9E5CE7
monochromatic
#AFAC1A #DFDB27 #E7E45C #EFED91 #F7F6C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7E45C#FFFFFF#000000##000000
##E7E45C1.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)
#F5DC4C
Deuteranopia (green-blind)
#F8E164
Tritanopia (blue-blind)
#F6D6C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e7e45c;
/* rgb */ color: rgb(231, 228, 92);
/* oklch */ color: oklch(89.6% 0.156 108.0);
Tailwind
colors: {
  custom: {
    50: '#f2ec90',
    500: '#e7e45c',
    950: '#000000',
  },
}
SCSS
$custom: #e7e45c;
$custom-light: #f2ec90;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e45c",
  "rgb": {
    "r": 231,
    "g": 228,
    "b": 92
  },
  "hsl": {
    "h": 58.705,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.89605,
    "c": 0.15567,
    "h": 108
  },
  "luminance": 0.73248
}

Semantic roles & 50–950 ramp

primary
#E7E45C
secondary
#373AB0
accent
#13D60F
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7E45C

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

Preview Lab → · Contrast checker → · Palette generator →

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