#E2E240#E2E240

#E2E240 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.6% C 0.174 H 109.5°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#E2E240
RGBrgb(226, 226, 64)
HSLhsl(60, 74%, 57%)
HSVhsv(60, 72%, 89%)
CMYKcmyk(0%, 0%, 71.7%, 11.4%)
CIE-LABlab(87.45, -18.22, 74.15)
CIE-LCHlch(87.45, 76.35, 103.81°)
OKLaboklab(88.56% -0.0578 0.1636)
OKLCHoklch(88.56% 0.174 109.5)
XYZxyz(59.4880, 70.9334, 15.4074)
Luminance0.7093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E240 #4040E2
analogous
#E29140 #E2E240 #91E240
triadic
#E2E240 #40E2E2 #E240E2
tetradic
#E2E240 #40E291 #4040E2 #E24091
square
#E2E240 #40E291 #4040E2 #E24091
split-complementary
#E2E240 #4091E2 #9140E2
monochromatic
#929216 #C7C71E #E2E240 #EAEA75 #F2F2AA

Accessibility & contrast

On white

1.38
#E2E240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#E2E240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E240
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E240#FFFFFF#000000##000000
##E2E2401.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D820
Deuteranopia (green-blind)
#F6DE4D
Tritanopia (blue-blind)
#F2D4C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e2e240;
/* rgb */ color: rgb(226, 226, 64);
/* oklch */ color: oklch(88.6% 0.174 109.5);
Tailwind
colors: {
  custom: {
    50: '#efea80',
    500: '#e2e240',
    950: '#000000',
  },
}
SCSS
$custom: #e2e240;
$custom-light: #efea80;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e240",
  "rgb": {
    "r": 226,
    "g": 226,
    "b": 64
  },
  "hsl": {
    "h": 60,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.88558,
    "c": 0.17352,
    "h": 109.5
  },
  "luminance": 0.70932
}

Semantic roles & 50–950 ramp

primary
#E2E240
secondary
#303096
accent
#38F038
background
#FFFEFB
surface
#FFFDF2
border
#D7D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #E2E240

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

Preview Lab → · Contrast checker → · Palette generator →

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