#E7EC5B#E7EC5B

#E7EC5B 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.55:1 contrast (WCAG AA passes).

Color values

HEX#E7EC5B
RGBrgb(231, 236, 91)
HSLhsl(62, 79%, 64%)
HSVhsv(62, 61%, 93%)
CMYKcmyk(2.1%, 0%, 61.4%, 7.5%)
CIE-LABlab(90.66, -19.58, 67.46)
CIE-LCHlch(90.66, 70.25, 106.19°)
OKLaboklab(91.27% -0.0593 0.1536)
OKLCHoklch(91.27% 0.165 111.1)
XYZxyz(64.8406, 77.7367, 21.4845)
Luminance0.7773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EC5B #605BEC
analogous
#ECA95B #E7EC5B #9FEC5B
triadic
#E7EC5B #5BE7EC #EC5BE7
tetradic
#E7EC5B #5BECA9 #605BEC #EC5B9F
square
#E7EC5B #5BECA9 #605BEC #EC5B9F
split-complementary
#E7EC5B #5B9FEC #A95BEC
monochromatic
#B2B715 #DFE624 #E7EC5B #EFF292 #F7F9C9

Accessibility & contrast

On white

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

On black

16.55
#E7EC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EC5B
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EC5B#FFFFFF#000000##000000
##E7EC5B1.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7ec5b;
/* rgb */ color: rgb(231, 236, 91);
/* oklch */ color: oklch(91.3% 0.165 111.1);
Tailwind
colors: {
  custom: {
    50: '#f2f290',
    500: '#e7ec5b',
    950: '#000000',
  },
}
SCSS
$custom: #e7ec5b;
$custom-light: #f2f290;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ec5b",
  "rgb": {
    "r": 231,
    "g": 236,
    "b": 91
  },
  "hsl": {
    "h": 62.069,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.91272,
    "c": 0.16464,
    "h": 111.1
  },
  "luminance": 0.77735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7EC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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