#E7E46C#E7E46C

#E7E46C is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 89.8% C 0.142 H 107.6°. Best body text is #000000 at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#E7E46C
RGBrgb(231, 228, 108)
HSLhsl(59, 72%, 66%)
HSVhsv(59, 53%, 91%)
CMYKcmyk(0%, 1.3%, 53.2%, 9.4%)
CIE-LABlab(88.71, -14.47, 58.00)
CIE-LCHlch(88.71, 59.78, 104.00°)
OKLaboklab(89.77% -0.0431 0.1355)
OKLCHoklch(89.77% 0.142 107.6)
XYZxyz(63.4069, 73.5602, 25.0429)
Luminance0.7356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E46C #6C6FE7
analogous
#E7A76C #E7E46C #ADE76C
triadic
#E7E46C #6CE7E4 #E46CE7
tetradic
#E7E46C #6CE7A7 #6C6FE7 #E76CAD
square
#E7E46C #6CE7A7 #6C6FE7 #E76CAD
split-complementary
#E7E46C #6CADE7 #A76CE7
monochromatic
#BAB61E #DEDA37 #E7E46C #F0EEA1 #F8F7D5

Accessibility & contrast

On white

1.34
#E7E46C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.71
#E7E46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E46C
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E46C#FFFFFF#000000##000000
##E7E46C1.001.3415.7115.71
#FFFFFF1.341.0021.0021.00
#00000015.7121.001.001.00
##00000015.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC60
Deuteranopia (green-blind)
#F7E172
Tritanopia (blue-blind)
#F5D7C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e7e46c;
/* rgb */ color: rgb(231, 228, 108);
/* oklch */ color: oklch(89.8% 0.142 107.6);
Tailwind
colors: {
  custom: {
    50: '#f1ec99',
    500: '#e7e46c',
    950: '#000000',
  },
}
SCSS
$custom: #e7e46c;
$custom-light: #f1ec99;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e46c",
  "rgb": {
    "r": 231,
    "g": 228,
    "b": 108
  },
  "hsl": {
    "h": 58.537,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8977,
    "c": 0.14215,
    "h": 107.6
  },
  "luminance": 0.73558
}

Semantic roles & 50–950 ramp

primary
#E7E46C
secondary
#3D40BA
accent
#16D412
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7E46C

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

Preview Lab → · Contrast checker → · Palette generator →

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