#E7D783#E7D783

#E7D783 is a very light, moderate yellow. Relative luminance 0.672; OKLCH L 87.4% C 0.106 H 98.8°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#E7D783
RGBrgb(231, 215, 131)
HSLhsl(50, 68%, 71%)
HSVhsv(50, 43%, 91%)
CMYKcmyk(0%, 6.9%, 43.3%, 9.4%)
CIE-LABlab(85.62, -5.90, 43.33)
CIE-LCHlch(85.62, 43.73, 97.75°)
OKLaboklab(87.4% -0.0162 0.105)
OKLCHoklch(87.4% 0.106 98.8)
XYZxyz(61.3536, 67.2305, 31.2132)
Luminance0.6723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D783 #8393E7
analogous
#E7A583 #E7D783 #C5E783
triadic
#E7D783 #83E7D7 #D783E7
tetradic
#E7D783 #83E7A5 #8393E7 #E783C5
square
#E7D783 #83E7A5 #8393E7 #E783C5
split-complementary
#E7D783 #83C5E7 #A583E7
monochromatic
#C9AF27 #DDC650 #E7D783 #F1E8B6 #FAF7E5

Accessibility & contrast

On white

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

On black

14.45
#E7D783 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D783
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D783#FFFFFF#000000##000000
##E7D7831.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D37C
Deuteranopia (green-blind)
#EAD986
Tritanopia (blue-blind)
#F5CCC2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d783;
/* rgb */ color: rgb(231, 215, 131);
/* oklch */ color: oklch(87.4% 0.106 98.8);
Tailwind
colors: {
  custom: {
    50: '#f0e3a8',
    500: '#e7d783',
    950: '#000000',
  },
}
SCSS
$custom: #e7d783;
$custom-light: #f0e3a8;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d783",
  "rgb": {
    "r": 231,
    "g": 215,
    "b": 131
  },
  "hsl": {
    "h": 50.4,
    "s": 67.568,
    "l": 70.98
  },
  "oklch": {
    "l": 0.87401,
    "c": 0.10625,
    "h": 98.8
  },
  "luminance": 0.67228
}

Semantic roles & 50–950 ramp

primary
#E7D783
secondary
#4E61C0
accent
#34CF16
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#171510
muted
#858480

Preview Lab

Preview with #E7D783

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

Preview Lab → · Contrast checker → · Palette generator →

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