#E7D351#E7D351

#E7D351 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 86.0% C 0.148 H 100.5°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#E7D351
RGBrgb(231, 211, 81)
HSLhsl(52, 76%, 61%)
HSVhsv(52, 65%, 91%)
CMYKcmyk(0%, 8.7%, 64.9%, 9.4%)
CIE-LABlab(84.06, -7.82, 64.55)
CIE-LCHlch(84.06, 65.02, 96.91°)
OKLaboklab(85.99% -0.0271 0.146)
OKLCHoklch(85.99% 0.148 100.5)
XYZxyz(57.7369, 64.1740, 17.1286)
Luminance0.6417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D351 #5165E7
analogous
#E78851 #E7D351 #B0E751
triadic
#E7D351 #51E7D3 #D351E7
tetradic
#E7D351 #51E788 #5165E7 #E751B0
square
#E7D351 #51E788 #5165E7 #E751B0
split-complementary
#E7D351 #51B0E7 #8851E7
monochromatic
#A79317 #DCC31E #E7D351 #EEE187 #F6EEBD

Accessibility & contrast

On white

1.52
#E7D351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#E7D351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D351
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D351#FFFFFF#000000##000000
##E7D3511.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD41
Deuteranopia (green-blind)
#ECD558
Tritanopia (blue-blind)
#F8C5B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e7d351;
/* rgb */ color: rgb(231, 211, 81);
/* oklch */ color: oklch(86.0% 0.148 100.5);
Tailwind
colors: {
  custom: {
    50: '#f2e088',
    500: '#e7d351',
    950: '#000000',
  },
}
SCSS
$custom: #e7d351;
$custom-light: #f2e088;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d351",
  "rgb": {
    "r": 231,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 52,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85989,
    "c": 0.14845,
    "h": 100.5
  },
  "luminance": 0.64172
}

Semantic roles & 50–950 ramp

primary
#E7D351
secondary
#3443A8
accent
#29D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D351

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

Preview Lab → · Contrast checker → · Palette generator →

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