#E7E351#E7E351

#E7E351 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.3% C 0.163 H 107.8°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#E7E351
RGBrgb(231, 227, 81)
HSLhsl(58, 76%, 61%)
HSVhsv(58, 65%, 91%)
CMYKcmyk(0%, 1.7%, 64.9%, 9.4%)
CIE-LABlab(88.22, -15.80, 68.88)
CIE-LCHlch(88.22, 70.66, 102.92°)
OKLaboklab(89.3% -0.0497 0.1551)
OKLCHoklch(89.3% 0.163 107.8)
XYZxyz(61.9114, 72.5231, 18.5201)
Luminance0.7252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E351 #5155E7
analogous
#E79851 #E7E351 #A0E751
triadic
#E7E351 #51E7E3 #E351E7
tetradic
#E7E351 #51E798 #5155E7 #E751A0
square
#E7E351 #51E798 #5155E7 #E751A0
split-complementary
#E7E351 #51A0E7 #9851E7
monochromatic
#A7A317 #DCD71E #E7E351 #EEEC87 #F6F4BD

Accessibility & contrast

On white

1.35
#E7E351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.50
#E7E351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E351
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E351#FFFFFF#000000##000000
##E7E3511.001.3515.5015.50
#FFFFFF1.351.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA3D
Deuteranopia (green-blind)
#F8E05A
Tritanopia (blue-blind)
#F7D5C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e7e351;
/* rgb */ color: rgb(231, 227, 81);
/* oklch */ color: oklch(89.3% 0.163 107.8);
Tailwind
colors: {
  custom: {
    50: '#f2eb89',
    500: '#e7e351',
    950: '#000000',
  },
}
SCSS
$custom: #e7e351;
$custom-light: #f2eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e351",
  "rgb": {
    "r": 231,
    "g": 227,
    "b": 81
  },
  "hsl": {
    "h": 58.4,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.89301,
    "c": 0.16287,
    "h": 107.8
  },
  "luminance": 0.72521
}

Semantic roles & 50–950 ramp

primary
#E7E351
secondary
#3437A8
accent
#13D80E
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E351

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

Preview Lab → · Contrast checker → · Palette generator →

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