#E7EC4B#E7EC4B

#E7EC4B is a very light, vivid yellow. Relative luminance 0.775; OKLCH L 91.1% C 0.176 H 111.2°. Best body text is #000000 at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#E7EC4B
RGBrgb(231, 236, 75)
HSLhsl(62, 81%, 61%)
HSVhsv(62, 68%, 93%)
CMYKcmyk(2.1%, 0%, 68.2%, 7.5%)
CIE-LABlab(90.55, -20.50, 73.47)
CIE-LCHlch(90.55, 76.28, 105.59°)
OKLaboklab(91.15% -0.0635 0.1639)
OKLCHoklch(91.15% 0.176 111.2)
XYZxyz(64.2225, 77.4895, 18.2291)
Luminance0.7749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EC4B #504BEC
analogous
#ECA04B #E7EC4B #96EC4B
triadic
#E7EC4B #4BE7EC #EC4BE7
tetradic
#E7EC4B #4BECA0 #504BEC #EC4B96
square
#E7EC4B #4BECA0 #504BEC #EC4B96
split-complementary
#E7EC4B #4B96EC #A04BEC
monochromatic
#A6AB12 #DCE218 #E7EC4B #EEF282 #F6F8BA

Accessibility & contrast

On white

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

On black

16.50
#E7EC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EC4B
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EC4B#FFFFFF#000000##000000
##E7EC4B1.001.2716.5016.50
#FFFFFF1.271.0021.0021.00
#00000016.5021.001.001.00
##00000016.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE231
Deuteranopia (green-blind)
#FFE657
Tritanopia (blue-blind)
#F7DECC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e7ec4b;
/* rgb */ color: rgb(231, 236, 75);
/* oklch */ color: oklch(91.1% 0.176 111.2);
Tailwind
colors: {
  custom: {
    50: '#f2f187',
    500: '#e7ec4b',
    950: '#000000',
  },
}
SCSS
$custom: #e7ec4b;
$custom-light: #f2f187;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ec4b",
  "rgb": {
    "r": 231,
    "g": 236,
    "b": 75
  },
  "hsl": {
    "h": 61.863,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.91146,
    "c": 0.17572,
    "h": 111.2
  },
  "luminance": 0.77488
}

Semantic roles & 50–950 ramp

primary
#E7EC4B
secondary
#3330AC
accent
#08DD0F
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E7EC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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