#E7DF54#E7DF54

#E7DF54 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.5% C 0.157 H 106.0°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#E7DF54
RGBrgb(231, 223, 84)
HSLhsl(57, 75%, 62%)
HSVhsv(57, 64%, 91%)
CMYKcmyk(0%, 3.5%, 63.6%, 9.4%)
CIE-LABlab(87.20, -13.65, 66.62)
CIE-LCHlch(87.20, 68.01, 101.58°)
OKLaboklab(88.49% -0.0433 0.1508)
OKLCHoklch(88.49% 0.157 106)
XYZxyz(60.9451, 70.4064, 18.7653)
Luminance0.7040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF54 #545CE7
analogous
#E79654 #E7DF54 #A5E754
triadic
#E7DF54 #54E7DF #DF54E7
tetradic
#E7DF54 #54E796 #545CE7 #E754A5
square
#E7DF54 #54E796 #545CE7 #E754A5
split-complementary
#E7DF54 #54A5E7 #9654E7
monochromatic
#A9A118 #DFD41F #E7DF54 #EFE98A #F6F3BF

Accessibility & contrast

On white

1.39
#E7DF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.08
#E7DF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF54
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF54#FFFFFF#000000##000000
##E7DF541.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D742
Deuteranopia (green-blind)
#F4DD5C
Tritanopia (blue-blind)
#F7D1C2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e7df54;
/* rgb */ color: rgb(231, 223, 84);
/* oklch */ color: oklch(88.5% 0.157 106.0);
Tailwind
colors: {
  custom: {
    50: '#f2e88a',
    500: '#e7df54',
    950: '#000000',
  },
}
SCSS
$custom: #e7df54;
$custom-light: #f2e88a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df54",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 84
  },
  "hsl": {
    "h": 56.735,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88492,
    "c": 0.1569,
    "h": 106
  },
  "luminance": 0.70404
}

Semantic roles & 50–950 ramp

primary
#E7DF54
secondary
#353BAA
accent
#19D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7DF54

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

Preview Lab → · Contrast checker → · Palette generator →

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