#E7E54F#E7E54F

#E7E54F is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 89.7% C 0.166 H 108.6°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#E7E54F
RGBrgb(231, 229, 79)
HSLhsl(59, 76%, 61%)
HSVhsv(59, 66%, 91%)
CMYKcmyk(0%, 0.9%, 65.8%, 9.4%)
CIE-LABlab(88.73, -16.89, 70.17)
CIE-LCHlch(88.73, 72.17, 103.53°)
OKLaboklab(89.7% -0.053 0.1575)
OKLCHoklch(89.7% 0.166 108.6)
XYZxyz(62.3877, 73.5939, 18.3143)
Luminance0.7359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E54F #4F51E7
analogous
#E7994F #E7E54F #9DE74F
triadic
#E7E54F #4FE7E5 #E54FE7
tetradic
#E7E54F #4FE799 #4F51E7 #E74F9D
square
#E7E54F #4FE799 #4F51E7 #E74F9D
split-complementary
#E7E54F #4F9DE7 #994FE7
monochromatic
#A5A317 #DBD81E #E7E54F #EEED85 #F6F5BB

Accessibility & contrast

On white

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

On black

15.72
#E7E54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E54F
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E54F#FFFFFF#000000##000000
##E7E54F1.001.3415.7215.72
#FFFFFF1.341.0021.0021.00
#00000015.7221.001.001.00
##00000015.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC39
Deuteranopia (green-blind)
#F9E159
Tritanopia (blue-blind)
#F7D7C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e7e54f;
/* rgb */ color: rgb(231, 229, 79);
/* oklch */ color: oklch(89.7% 0.166 108.6);
Tailwind
colors: {
  custom: {
    50: '#f2ed88',
    500: '#e7e54f',
    950: '#000000',
  },
}
SCSS
$custom: #e7e54f;
$custom-light: #f2ed88;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e54f",
  "rgb": {
    "r": 231,
    "g": 229,
    "b": 79
  },
  "hsl": {
    "h": 59.211,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.89703,
    "c": 0.16618,
    "h": 108.6
  },
  "luminance": 0.73592
}

Semantic roles & 50–950 ramp

primary
#E7E54F
secondary
#3335A7
accent
#10D80D
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E54F

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

Preview Lab → · Contrast checker → · Palette generator →

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