#E2E773#E2E773

#E2E773 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.1% C 0.140 H 111.1°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#E2E773
RGBrgb(226, 231, 115)
HSLhsl(63, 71%, 68%)
HSVhsv(63, 50%, 91%)
CMYKcmyk(2.2%, 0%, 50.2%, 9.4%)
CIE-LABlab(89.19, -17.36, 55.26)
CIE-LCHlch(89.19, 57.92, 107.44°)
OKLaboklab(90.08% -0.0503 0.1303)
OKLCHoklch(90.08% 0.14 111.1)
XYZxyz(63.0358, 74.5597, 27.2872)
Luminance0.7456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E773 #7873E7
analogous
#E7B273 #E2E773 #A8E773
triadic
#E2E773 #73E2E7 #E773E2
tetradic
#E2E773 #73E7B2 #7873E7 #E773A8
square
#E2E773 #73E7B2 #7873E7 #E773A8
split-complementary
#E2E773 #73A8E7 #B273E7
monochromatic
#B8BF21 #D7DE3F #E2E773 #EDF0A7 #F8F9DB

Accessibility & contrast

On white

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

On black

15.91
#E2E773 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E773
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E773#FFFFFF#000000##000000
##E2E7731.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE68
Deuteranopia (green-blind)
#F7E279
Tritanopia (blue-blind)
#EFDBCD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e2e773;
/* rgb */ color: rgb(226, 231, 115);
/* oklch */ color: oklch(90.1% 0.140 111.1);
Tailwind
colors: {
  custom: {
    50: '#edee9e',
    500: '#e2e773',
    950: '#000000',
  },
}
SCSS
$custom: #e2e773;
$custom-light: #edee9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e773",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 115
  },
  "hsl": {
    "h": 62.586,
    "s": 70.732,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90075,
    "c": 0.13967,
    "h": 111.1
  },
  "luminance": 0.74558
}

Semantic roles & 50–950 ramp

primary
#E2E773
secondary
#4640BE
accent
#13D31B
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E2E773

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

Preview Lab → · Contrast checker → · Palette generator →

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