#E7EC74#E7EC74

#E7EC74 is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.5% C 0.143 H 111.1°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#E7EC74
RGBrgb(231, 236, 116)
HSLhsl(63, 76%, 69%)
HSVhsv(63, 51%, 93%)
CMYKcmyk(2.1%, 0%, 50.8%, 7.5%)
CIE-LABlab(90.89, -17.74, 56.90)
CIE-LCHlch(90.89, 59.60, 107.31°)
OKLaboklab(91.53% -0.0516 0.1339)
OKLCHoklch(91.53% 0.143 111.1)
XYZxyz(66.1042, 78.2422, 28.1396)
Luminance0.7824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EC74 #7974EC
analogous
#ECB574 #E7EC74 #ABEC74
triadic
#E7EC74 #74E7EC #EC74E7
tetradic
#E7EC74 #74ECB5 #7974EC #EC74AB
square
#E7EC74 #74ECB5 #7974EC #EC74AB
split-complementary
#E7EC74 #74ABEC #B574EC
monochromatic
#C3CA1C #DEE53E #E7EC74 #F0F3AA #FAFBE0

Accessibility & contrast

On white

1.26
#E7EC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#E7EC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EC74
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EC74#FFFFFF#000000##000000
##E7EC741.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE369
Deuteranopia (green-blind)
#FCE77A
Tritanopia (blue-blind)
#F4E0D1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e7ec74;
/* rgb */ color: rgb(231, 236, 116);
/* oklch */ color: oklch(91.5% 0.143 111.1);
Tailwind
colors: {
  custom: {
    50: '#f1f29f',
    500: '#e7ec74',
    950: '#000000',
  },
}
SCSS
$custom: #e7ec74;
$custom-light: #f1f29f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ec74",
  "rgb": {
    "r": 231,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 62.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.91531,
    "c": 0.14346,
    "h": 111.1
  },
  "luminance": 0.78241
}

Semantic roles & 50–950 ramp

primary
#E7EC74
secondary
#4540C5
accent
#0DD816
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E7EC74

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

Preview Lab → · Contrast checker → · Palette generator →

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