#E2E774#E2E774

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

Color values

HEX#E2E774
RGBrgb(226, 231, 116)
HSLhsl(63, 71%, 68%)
HSVhsv(63, 50%, 91%)
CMYKcmyk(2.2%, 0%, 49.8%, 9.4%)
CIE-LABlab(89.20, -17.27, 54.81)
CIE-LCHlch(89.20, 57.47, 107.49°)
OKLaboklab(90.09% -0.05 0.1294)
OKLCHoklch(90.09% 0.139 111.1)
XYZxyz(63.0936, 74.5828, 27.5919)
Luminance0.7458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E774 #7974E7
analogous
#E7B374 #E2E774 #A8E774
triadic
#E2E774 #74E2E7 #E774E2
tetradic
#E2E774 #74E7B3 #7974E7 #E774A8
square
#E2E774 #74E7B3 #7974E7 #E774A8
split-complementary
#E2E774 #74A8E7 #B374E7
monochromatic
#B9C021 #D7DE40 #E2E774 #EDF0A8 #F8F9DC

Accessibility & contrast

On white

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

On black

15.92
#E2E774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E774
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E774#FFFFFF#000000##000000
##E2E7741.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2e774;
/* rgb */ color: rgb(226, 231, 116);
/* oklch */ color: oklch(90.1% 0.139 111.1);
Tailwind
colors: {
  custom: {
    50: '#edee9f',
    500: '#e2e774',
    950: '#000000',
  },
}
SCSS
$custom: #e2e774;
$custom-light: #edee9f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e774",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 116
  },
  "hsl": {
    "h": 62.609,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.90087,
    "c": 0.13871,
    "h": 111.1
  },
  "luminance": 0.74582
}

Semantic roles & 50–950 ramp

primary
#E2E774
secondary
#4641BF
accent
#13D31B
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E2E774

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

Preview Lab → · Contrast checker → · Palette generator →

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