#E4E74C#E4E74C

#E4E74C is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 89.9% C 0.171 H 110.5°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#E4E74C
RGBrgb(228, 231, 76)
HSLhsl(61, 76%, 60%)
HSVhsv(61, 67%, 91%)
CMYKcmyk(1.3%, 0%, 67.1%, 9.4%)
CIE-LABlab(89.00, -19.25, 71.49)
CIE-LCHlch(89.00, 74.04, 105.07°)
OKLaboklab(89.86% -0.0597 0.1599)
OKLCHoklch(89.86% 0.171 110.5)
XYZxyz(61.8773, 74.1693, 17.8927)
Luminance0.7417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E74C #4F4CE7
analogous
#E79C4C #E4E74C #97E74C
triadic
#E4E74C #4CE4E7 #E74CE4
tetradic
#E4E74C #4CE79C #4F4CE7 #E74C97
square
#E4E74C #4CE79C #4F4CE7 #E74C97
split-complementary
#E4E74C #4C97E7 #9C4CE7
monochromatic
#A0A316 #D5D91D #E4E74C #ECEE82 #F4F5B8

Accessibility & contrast

On white

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

On black

15.83
#E4E74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E74C
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E74C#FFFFFF#000000##000000
##E4E74C1.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DD34
Deuteranopia (green-blind)
#FAE257
Tritanopia (blue-blind)
#F3D9C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e4e74c;
/* rgb */ color: rgb(228, 231, 76);
/* oklch */ color: oklch(89.9% 0.171 110.5);
Tailwind
colors: {
  custom: {
    50: '#f0ee87',
    500: '#e4e74c',
    950: '#000000',
  },
}
SCSS
$custom: #e4e74c;
$custom-light: #f0ee87;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e74c",
  "rgb": {
    "r": 228,
    "g": 231,
    "b": 76
  },
  "hsl": {
    "h": 61.161,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.89857,
    "c": 0.17071,
    "h": 110.5
  },
  "luminance": 0.74168
}

Semantic roles & 50–950 ramp

primary
#E4E74C
secondary
#3432A5
accent
#0DD911
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E4E74C

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

Preview Lab → · Contrast checker → · Palette generator →

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