#E7D950#E7D950

#E7D950 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.2% C 0.154 H 103.5°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#E7D950
RGBrgb(231, 217, 80)
HSLhsl(54, 76%, 61%)
HSVhsv(54, 65%, 91%)
CMYKcmyk(0%, 6.1%, 65.4%, 9.4%)
CIE-LABlab(85.60, -10.90, 66.56)
CIE-LCHlch(85.60, 67.45, 99.30°)
OKLaboklab(87.22% -0.0359 0.1501)
OKLCHoklch(87.22% 0.154 103.5)
XYZxyz(59.2182, 67.1961, 17.4387)
Luminance0.6719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D950 #505EE7
analogous
#E78D50 #E7D950 #A9E750
triadic
#E7D950 #50E7D9 #D950E7
tetradic
#E7D950 #50E78D #505EE7 #E750A9
square
#E7D950 #50E78D #505EE7 #E750A9
split-complementary
#E7D950 #50A9E7 #8D50E7
monochromatic
#A69917 #DCCA1E #E7D950 #EEE586 #F6F0BC

Accessibility & contrast

On white

1.45
#E7D950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.44
#E7D950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D950
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D950#FFFFFF#000000##000000
##E7D9501.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD23E
Deuteranopia (green-blind)
#F0D958
Tritanopia (blue-blind)
#F8CBBD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d950;
/* rgb */ color: rgb(231, 217, 80);
/* oklch */ color: oklch(87.2% 0.154 103.5);
Tailwind
colors: {
  custom: {
    50: '#f2e488',
    500: '#e7d950',
    950: '#000000',
  },
}
SCSS
$custom: #e7d950;
$custom-light: #f2e488;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d950",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 54.437,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87215,
    "c": 0.15432,
    "h": 103.5
  },
  "luminance": 0.67194
}

Semantic roles & 50–950 ramp

primary
#E7D950
secondary
#333EA8
accent
#20D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D950

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

Preview Lab → · Contrast checker → · Palette generator →

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