#E7EC5A#E7EC5A

#E7EC5A is a very light, vivid yellow. Relative luminance 0.777; OKLCH L 91.3% C 0.165 H 111.1°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#E7EC5A
RGBrgb(231, 236, 90)
HSLhsl(62, 79%, 64%)
HSVhsv(62, 62%, 93%)
CMYKcmyk(2.1%, 0%, 61.9%, 7.5%)
CIE-LABlab(90.65, -19.65, 67.86)
CIE-LCHlch(90.65, 70.64, 106.15°)
OKLaboklab(91.26% -0.0596 0.1543)
OKLCHoklch(91.26% 0.165 111.1)
XYZxyz(64.7978, 77.7196, 21.2589)
Luminance0.7772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EC5A #5F5AEC
analogous
#ECA85A #E7EC5A #9EEC5A
triadic
#E7EC5A #5AE7EC #EC5AE7
tetradic
#E7EC5A #5AECA8 #5F5AEC #EC5A9E
square
#E7EC5A #5AECA8 #5F5AEC #EC5A9E
split-complementary
#E7EC5A #5A9EEC #A85AEC
monochromatic
#B1B715 #DFE623 #E7EC5A #EFF291 #F7F9C8

Accessibility & contrast

On white

1.27
#E7EC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.54
#E7EC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EC5A
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EC5A#FFFFFF#000000##000000
##E7EC5A1.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE248
Deuteranopia (green-blind)
#FEE663
Tritanopia (blue-blind)
#F6DECE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e7ec5a;
/* rgb */ color: rgb(231, 236, 90);
/* oklch */ color: oklch(91.3% 0.165 111.1);
Tailwind
colors: {
  custom: {
    50: '#f2f28f',
    500: '#e7ec5a',
    950: '#000000',
  },
}
SCSS
$custom: #e7ec5a;
$custom-light: #f2f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ec5a",
  "rgb": {
    "r": 231,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 62.055,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.91264,
    "c": 0.16539,
    "h": 111.1
  },
  "luminance": 0.77718
}

Semantic roles & 50–950 ramp

primary
#E7EC5A
secondary
#3934B6
accent
#0ADC11
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E7EC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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