#E7ED52#E7ED52

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

Color values

HEX#E7ED52
RGBrgb(231, 237, 82)
HSLhsl(62, 81%, 63%)
HSVhsv(62, 65%, 93%)
CMYKcmyk(2.5%, 0%, 65.4%, 7.1%)
CIE-LABlab(90.86, -20.61, 71.20)
CIE-LCHlch(90.86, 74.12, 106.14°)
OKLaboklab(91.41% -0.0631 0.1602)
OKLCHoklch(91.41% 0.172 111.5)
XYZxyz(64.7641, 78.1681, 19.6573)
Luminance0.7817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7ED52 #5852ED
analogous
#EDA652 #E7ED52 #99ED52
triadic
#E7ED52 #52E7ED #ED52E7
tetradic
#E7ED52 #52EDA6 #5852ED #ED5299
square
#E7ED52 #52EDA6 #5852ED #ED5299
split-complementary
#E7ED52 #5299ED #A652ED
monochromatic
#ACB213 #DFE71B #E7ED52 #EFF389 #F6F9C1

Accessibility & contrast

On white

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

On black

16.63
#E7ED52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7ED52
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7ED52#FFFFFF#000000##000000
##E7ED521.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE33C
Deuteranopia (green-blind)
#FFE75D
Tritanopia (blue-blind)
#F6DFCE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e7ed52;
/* rgb */ color: rgb(231, 237, 82);
/* oklch */ color: oklch(91.4% 0.172 111.5);
Tailwind
colors: {
  custom: {
    50: '#f2f28a',
    500: '#e7ed52',
    950: '#000000',
  },
}
SCSS
$custom: #e7ed52;
$custom-light: #f2f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ed52",
  "rgb": {
    "r": 231,
    "g": 237,
    "b": 82
  },
  "hsl": {
    "h": 62.323,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.91408,
    "c": 0.17215,
    "h": 111.5
  },
  "luminance": 0.78166
}

Semantic roles & 50–950 ramp

primary
#E7ED52
secondary
#3631B2
accent
#08DE10
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E7ED52

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

Preview Lab → · Contrast checker → · Palette generator →

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