#E7ED4B#E7ED4B

#E7ED4B is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.4% C 0.177 H 111.5°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#E7ED4B
RGBrgb(231, 237, 75)
HSLhsl(62, 82%, 61%)
HSVhsv(62, 68%, 93%)
CMYKcmyk(2.5%, 0%, 68.4%, 7.1%)
CIE-LABlab(90.81, -20.98, 73.73)
CIE-LCHlch(90.81, 76.66, 105.88°)
OKLaboklab(91.36% -0.0648 0.1644)
OKLCHoklch(91.36% 0.177 111.5)
XYZxyz(64.5112, 78.0669, 18.3254)
Luminance0.7806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7ED4B #514BED
analogous
#EDA24B #E7ED4B #96ED4B
triadic
#E7ED4B #4BE7ED #ED4BE7
tetradic
#E7ED4B #4BEDA2 #514BED #ED4B96
square
#E7ED4B #4BEDA2 #514BED #ED4B96
split-complementary
#E7ED4B #4B96ED #A24BED
monochromatic
#A7AC11 #DCE417 #E7ED4B #EEF383 #F6F8BA

Accessibility & contrast

On white

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

On black

16.61
#E7ED4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7ED4B
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7ED4B#FFFFFF#000000##000000
##E7ED4B1.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE331
Deuteranopia (green-blind)
#FFE757
Tritanopia (blue-blind)
#F6DFCD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e7ed4b;
/* rgb */ color: rgb(231, 237, 75);
/* oklch */ color: oklch(91.4% 0.177 111.5);
Tailwind
colors: {
  custom: {
    50: '#f2f287',
    500: '#e7ed4b',
    950: '#000000',
  },
}
SCSS
$custom: #e7ed4b;
$custom-light: #f2f287;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ed4b",
  "rgb": {
    "r": 231,
    "g": 237,
    "b": 75
  },
  "hsl": {
    "h": 62.222,
    "s": 81.818,
    "l": 61.176
  },
  "oklch": {
    "l": 0.91357,
    "c": 0.17672,
    "h": 111.5
  },
  "luminance": 0.78065
}

Semantic roles & 50–950 ramp

primary
#E7ED4B
secondary
#342FAD
accent
#07DE0F
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E7ED4B

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

Preview Lab → · Contrast checker → · Palette generator →

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