#E7E248#E7E248

#E7E248 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.0% C 0.168 H 107.5°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#E7E248
RGBrgb(231, 226, 72)
HSLhsl(58, 77%, 59%)
HSVhsv(58, 69%, 91%)
CMYKcmyk(0%, 2.2%, 68.8%, 9.4%)
CIE-LABlab(87.90, -15.78, 71.93)
CIE-LCHlch(87.90, 73.64, 102.38°)
OKLaboklab(89.02% -0.0505 0.1601)
OKLCHoklch(89.02% 0.168 107.5)
XYZxyz(61.3233, 71.8515, 16.7681)
Luminance0.7185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E248 #484DE7
analogous
#E79348 #E7E248 #9DE748
triadic
#E7E248 #48E7E2 #E248E7
tetradic
#E7E248 #48E793 #484DE7 #E7489D
square
#E7E248 #48E793 #484DE7 #E7489D
split-complementary
#E7E248 #489DE7 #9348E7
monochromatic
#A09B15 #D6D01C #E7E248 #EEEB7E #F5F3B4

Accessibility & contrast

On white

1.37
#E7E248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.37
#E7E248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E248
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E248#FFFFFF#000000##000000
##E7E2481.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5D92F
Deuteranopia (green-blind)
#F7DF53
Tritanopia (blue-blind)
#F7D3C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e7e248;
/* rgb */ color: rgb(231, 226, 72);
/* oklch */ color: oklch(89.0% 0.168 107.5);
Tailwind
colors: {
  custom: {
    50: '#f2ea84',
    500: '#e7e248',
    950: '#000000',
  },
}
SCSS
$custom: #e7e248;
$custom-light: #f2ea84;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e248",
  "rgb": {
    "r": 231,
    "g": 226,
    "b": 72
  },
  "hsl": {
    "h": 58.113,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.89024,
    "c": 0.1679,
    "h": 107.5
  },
  "luminance": 0.7185
}

Semantic roles & 50–950 ramp

primary
#E7E248
secondary
#3134A2
accent
#3AF334
background
#FFFEFC
surface
#FFFDF3
border
#D7D5CD
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E248

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

Preview Lab → · Contrast checker → · Palette generator →

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