#E2E74C#E2E74C

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

Color values

HEX#E2E74C
RGBrgb(226, 231, 76)
HSLhsl(62, 76%, 60%)
HSVhsv(62, 67%, 91%)
CMYKcmyk(2.2%, 0%, 67.1%, 9.4%)
CIE-LABlab(88.85, -20.07, 71.29)
CIE-LCHlch(88.85, 74.06, 105.72°)
OKLaboklab(89.7% -0.0619 0.1596)
OKLCHoklch(89.7% 0.171 111.2)
XYZxyz(61.2464, 73.8439, 17.8631)
Luminance0.7384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E74C #514CE7
analogous
#E79E4C #E2E74C #95E74C
triadic
#E2E74C #4CE2E7 #E74CE2
tetradic
#E2E74C #4CE79E #514CE7 #E74C95
square
#E2E74C #4CE79E #514CE7 #E74C95
split-complementary
#E2E74C #4C95E7 #9E4CE7
monochromatic
#9EA316 #D3D91D #E2E74C #EBEE82 #F3F5B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2E74C#FFFFFF#000000##000000
##E2E74C1.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)
#F8DD34
Deuteranopia (green-blind)
#F9E157
Tritanopia (blue-blind)
#F1D9C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e2e74c;
/* rgb */ color: rgb(226, 231, 76);
/* oklch */ color: oklch(89.7% 0.171 111.2);
Tailwind
colors: {
  custom: {
    50: '#efee87',
    500: '#e2e74c',
    950: '#000000',
  },
}
SCSS
$custom: #e2e74c;
$custom-light: #efee87;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e74c",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 76
  },
  "hsl": {
    "h": 61.935,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.89697,
    "c": 0.17114,
    "h": 111.2
  },
  "luminance": 0.73842
}

Semantic roles & 50–950 ramp

primary
#E2E74C
secondary
#3632A5
accent
#0DD914
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2E74C

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

Preview Lab → · Contrast checker → · Palette generator →

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