#E7D850#E7D850

#E7D850 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.0% C 0.153 H 103.0°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#E7D850
RGBrgb(231, 216, 80)
HSLhsl(54, 76%, 61%)
HSVhsv(54, 65%, 91%)
CMYKcmyk(0%, 6.5%, 65.4%, 9.4%)
CIE-LABlab(85.34, -10.40, 66.30)
CIE-LCHlch(85.34, 67.11, 98.91°)
OKLaboklab(87.01% -0.0345 0.1495)
OKLCHoklch(87.01% 0.153 103)
XYZxyz(58.9612, 66.6822, 17.3530)
Luminance0.6668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D850 #505FE7
analogous
#E78C50 #E7D850 #AAE750
triadic
#E7D850 #50E7D8 #D850E7
tetradic
#E7D850 #50E78C #505FE7 #E750AA
square
#E7D850 #50E78C #505FE7 #E750AA
split-complementary
#E7D850 #50AAE7 #8C50E7
monochromatic
#A69817 #DCC91E #E7D850 #EEE486 #F6F0BC

Accessibility & contrast

On white

1.46
#E7D850 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#E7D850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D850
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D850#FFFFFF#000000##000000
##E7D8501.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD13E
Deuteranopia (green-blind)
#EFD858
Tritanopia (blue-blind)
#F8CABC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d850;
/* rgb */ color: rgb(231, 216, 80);
/* oklch */ color: oklch(87.0% 0.153 103.0);
Tailwind
colors: {
  custom: {
    50: '#f2e388',
    500: '#e7d850',
    950: '#000000',
  },
}
SCSS
$custom: #e7d850;
$custom-light: #f2e388;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d850",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 80
  },
  "hsl": {
    "h": 54.04,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87008,
    "c": 0.15344,
    "h": 103
  },
  "luminance": 0.6668
}

Semantic roles & 50–950 ramp

primary
#E7D850
secondary
#333FA8
accent
#22D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D850

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

Preview Lab → · Contrast checker → · Palette generator →

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