#E7DF4E#E7DF4E

#E7DF4E is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.4% C 0.161 H 106.2°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#E7DF4E
RGBrgb(231, 223, 78)
HSLhsl(57, 76%, 61%)
HSVhsv(57, 66%, 91%)
CMYKcmyk(0%, 3.5%, 66.2%, 9.4%)
CIE-LABlab(87.15, -13.99, 68.94)
CIE-LCHlch(87.15, 70.35, 101.47°)
OKLaboklab(88.44% -0.0449 0.1548)
OKLCHoklch(88.44% 0.161 106.2)
XYZxyz(60.7201, 70.3164, 17.5802)
Luminance0.7031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF4E #4E56E7
analogous
#E7934E #E7DF4E #A2E74E
triadic
#E7DF4E #4EE7DF #DF4EE7
tetradic
#E7DF4E #4EE793 #4E56E7 #E74EA2
square
#E7DF4E #4EE793 #4E56E7 #E74EA2
split-complementary
#E7DF4E #4EA2E7 #934EE7
monochromatic
#A49D16 #DAD01E #E7DF4E #EEE984 #F6F2BA

Accessibility & contrast

On white

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

On black

15.06
#E7DF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF4E
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF4E#FFFFFF#000000##000000
##E7DF4E1.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7df4e;
/* rgb */ color: rgb(231, 223, 78);
/* oklch */ color: oklch(88.4% 0.161 106.2);
Tailwind
colors: {
  custom: {
    50: '#f2e887',
    500: '#e7df4e',
    950: '#000000',
  },
}
SCSS
$custom: #e7df4e;
$custom-light: #f2e887;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df4e",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 78
  },
  "hsl": {
    "h": 56.863,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.88443,
    "c": 0.16116,
    "h": 106.2
  },
  "luminance": 0.70314
}

Semantic roles & 50–950 ramp

primary
#E7DF4E
secondary
#3339A6
accent
#18D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7DF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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