#E7E45F#E7E45F

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

Color values

HEX#E7E45F
RGBrgb(231, 228, 95)
HSLhsl(59, 74%, 64%)
HSVhsv(59, 59%, 91%)
CMYKcmyk(0%, 1.3%, 58.9%, 9.4%)
CIE-LABlab(88.59, -15.42, 63.57)
CIE-LCHlch(88.59, 65.41, 103.63°)
OKLaboklab(89.63% -0.0471 0.1459)
OKLCHoklch(89.63% 0.153 107.9)
XYZxyz(62.7659, 73.3038, 21.6670)
Luminance0.7330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E45F #5F62E7
analogous
#E7A05F #E7E45F #A6E75F
triadic
#E7E45F #5FE7E4 #E45FE7
tetradic
#E7E45F #5FE7A0 #5F62E7 #E75FA6
square
#E7E45F #5FE7A0 #5F62E7 #E75FA6
split-complementary
#E7E45F #5FA6E7 #A05FE7
monochromatic
#B1AE1B #DFDB2A #E7E45F #EFED94 #F7F6C9

Accessibility & contrast

On white

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

On black

15.66
#E7E45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E45F
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E45F#FFFFFF#000000##000000
##E7E45F1.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC50
Deuteranopia (green-blind)
#F8E167
Tritanopia (blue-blind)
#F6D7C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e7e45f;
/* rgb */ color: rgb(231, 228, 95);
/* oklch */ color: oklch(89.6% 0.153 107.9);
Tailwind
colors: {
  custom: {
    50: '#f1ec91',
    500: '#e7e45f',
    950: '#000000',
  },
}
SCSS
$custom: #e7e45f;
$custom-light: #f1ec91;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e45f",
  "rgb": {
    "r": 231,
    "g": 228,
    "b": 95
  },
  "hsl": {
    "h": 58.676,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89633,
    "c": 0.15329,
    "h": 107.9
  },
  "luminance": 0.73302
}

Semantic roles & 50–950 ramp

primary
#E7E45F
secondary
#393BB2
accent
#14D60F
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7E45F

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

Preview Lab → · Contrast checker → · Palette generator →

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