#E2E74B#E2E74B

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

Color values

HEX#E2E74B
RGBrgb(226, 231, 75)
HSLhsl(62, 76%, 60%)
HSVhsv(62, 68%, 91%)
CMYKcmyk(2.2%, 0%, 67.5%, 9.4%)
CIE-LABlab(88.84, -20.12, 71.65)
CIE-LCHlch(88.84, 74.42, 105.69°)
OKLaboklab(89.69% -0.0621 0.1601)
OKLCHoklch(89.69% 0.172 111.2)
XYZxyz(61.2119, 73.8301, 17.6814)
Luminance0.7383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E74B #504BE7
analogous
#E79E4B #E2E74B #94E74B
triadic
#E2E74B #4BE2E7 #E74BE2
tetradic
#E2E74B #4BE79E #504BE7 #E74B94
square
#E2E74B #4BE79E #504BE7 #E74B94
split-complementary
#E2E74B #4B94E7 #9E4BE7
monochromatic
#9EA216 #D2D81D #E2E74B #EBEE81 #F3F5B7

Accessibility & contrast

On white

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

On black

15.77
#E2E74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E74B
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E74B#FFFFFF#000000##000000
##E2E74B1.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD33
Deuteranopia (green-blind)
#F9E156
Tritanopia (blue-blind)
#F1D9C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e2e74b;
/* rgb */ color: rgb(226, 231, 75);
/* oklch */ color: oklch(89.7% 0.172 111.2);
Tailwind
colors: {
  custom: {
    50: '#efee86',
    500: '#e2e74b',
    950: '#000000',
  },
}
SCSS
$custom: #e2e74b;
$custom-light: #efee86;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e74b",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 75
  },
  "hsl": {
    "h": 61.923,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.89689,
    "c": 0.17178,
    "h": 111.2
  },
  "luminance": 0.73829
}

Semantic roles & 50–950 ramp

primary
#E2E74B
secondary
#3532A4
accent
#35F33B
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2E74B

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

Preview Lab → · Contrast checker → · Palette generator →

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