#E2E751#E2E751

#E2E751 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 89.7% C 0.168 H 111.2°. Best body text is #000000 at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#E2E751
RGBrgb(226, 231, 81)
HSLhsl(62, 76%, 61%)
HSVhsv(62, 65%, 91%)
CMYKcmyk(2.2%, 0%, 64.9%, 9.4%)
CIE-LABlab(88.88, -19.79, 69.44)
CIE-LCHlch(88.88, 72.20, 105.91°)
OKLaboklab(89.74% -0.0606 0.1564)
OKLCHoklch(89.74% 0.168 111.2)
XYZxyz(61.4270, 73.9162, 18.8144)
Luminance0.7391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E751 #5651E7
analogous
#E7A151 #E2E751 #97E751
triadic
#E2E751 #51E2E7 #E751E2
tetradic
#E2E751 #51E7A1 #5651E7 #E75197
square
#E2E751 #51E7A1 #5651E7 #E75197
split-complementary
#E2E751 #5197E7 #A151E7
monochromatic
#A2A717 #D6DC1E #E2E751 #EBEE87 #F4F6BD

Accessibility & contrast

On white

1.33
#E2E751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.78
#E2E751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E751
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E751#FFFFFF#000000##000000
##E2E7511.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD3C
Deuteranopia (green-blind)
#F9E15B
Tritanopia (blue-blind)
#F1D9C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e2e751;
/* rgb */ color: rgb(226, 231, 81);
/* oklch */ color: oklch(89.7% 0.168 111.2);
Tailwind
colors: {
  custom: {
    50: '#eeee89',
    500: '#e2e751',
    950: '#000000',
  },
}
SCSS
$custom: #e2e751;
$custom-light: #eeee89;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e751",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 81
  },
  "hsl": {
    "h": 62,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.89735,
    "c": 0.16776,
    "h": 111.2
  },
  "luminance": 0.73915
}

Semantic roles & 50–950 ramp

primary
#E2E751
secondary
#3834A8
accent
#0ED814
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2E751

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

Preview Lab → · Contrast checker → · Palette generator →

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