#E5E751#E5E751

#E5E751 is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 90.0% C 0.167 H 110.1°. Best body text is #000000 at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#E5E751
RGBrgb(229, 231, 81)
HSLhsl(61, 76%, 61%)
HSVhsv(61, 65%, 91%)
CMYKcmyk(0.9%, 0%, 64.9%, 9.4%)
CIE-LABlab(89.11, -18.57, 69.75)
CIE-LCHlch(89.11, 72.18, 104.91°)
OKLaboklab(89.98% -0.0574 0.157)
OKLCHoklch(89.98% 0.167 110.1)
XYZxyz(62.3762, 74.4056, 18.8589)
Luminance0.7440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E751 #5351E7
analogous
#E79E51 #E5E751 #9AE751
triadic
#E5E751 #51E5E7 #E751E5
tetradic
#E5E751 #51E79E #5351E7 #E7519A
square
#E5E751 #51E79E #5351E7 #E7519A
split-complementary
#E5E751 #519AE7 #9E51E7
monochromatic
#A5A717 #DADC1E #E5E751 #EDEE87 #F5F6BD

Accessibility & contrast

On white

1.32
#E5E751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.88
#E5E751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E751
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E751#FFFFFF#000000##000000
##E5E7511.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DD3C
Deuteranopia (green-blind)
#FAE25B
Tritanopia (blue-blind)
#F4D9C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e5e751;
/* rgb */ color: rgb(229, 231, 81);
/* oklch */ color: oklch(90.0% 0.167 110.1);
Tailwind
colors: {
  custom: {
    50: '#f1ee89',
    500: '#e5e751',
    950: '#000000',
  },
}
SCSS
$custom: #e5e751;
$custom-light: #f1ee89;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e751",
  "rgb": {
    "r": 229,
    "g": 231,
    "b": 81
  },
  "hsl": {
    "h": 60.8,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.89976,
    "c": 0.16716,
    "h": 110.1
  },
  "luminance": 0.74404
}

Semantic roles & 50–950 ramp

primary
#E5E751
secondary
#3534A8
accent
#0ED810
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E5E751

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

Preview Lab → · Contrast checker → · Palette generator →

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