#E7D150#E7D150

#E7D150 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.6% C 0.148 H 99.5°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#E7D150
RGBrgb(231, 209, 80)
HSLhsl(51, 76%, 61%)
HSVhsv(51, 65%, 91%)
CMYKcmyk(0%, 9.5%, 65.4%, 9.4%)
CIE-LABlab(83.53, -6.87, 64.41)
CIE-LCHlch(83.53, 64.77, 96.08°)
OKLaboklab(85.57% -0.0244 0.1455)
OKLCHoklch(85.57% 0.148 99.5)
XYZxyz(57.2059, 63.1716, 16.7679)
Luminance0.6317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D150 #5066E7
analogous
#E78550 #E7D150 #B1E750
triadic
#E7D150 #50E7D1 #D150E7
tetradic
#E7D150 #50E785 #5066E7 #E750B1
square
#E7D150 #50E785 #5066E7 #E750B1
split-complementary
#E7D150 #50B1E7 #8550E7
monochromatic
#A69117 #DCC01E #E7D150 #EEDF86 #F6EDBC

Accessibility & contrast

On white

1.54
#E7D150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#E7D150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D150
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D150#FFFFFF#000000##000000
##E7D1501.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC40
Deuteranopia (green-blind)
#EAD457
Tritanopia (blue-blind)
#F8C3B6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e7d150;
/* rgb */ color: rgb(231, 209, 80);
/* oklch */ color: oklch(85.6% 0.148 99.5);
Tailwind
colors: {
  custom: {
    50: '#f2de87',
    500: '#e7d150',
    950: '#000000',
  },
}
SCSS
$custom: #e7d150;
$custom-light: #f2de87;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d150",
  "rgb": {
    "r": 231,
    "g": 209,
    "b": 80
  },
  "hsl": {
    "h": 51.258,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85571,
    "c": 0.14755,
    "h": 99.5
  },
  "luminance": 0.63169
}

Semantic roles & 50–950 ramp

primary
#E7D150
secondary
#3344A8
accent
#2BD80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D150

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

Preview Lab → · Contrast checker → · Palette generator →

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