#E7E460#E7E460

#E7E460 is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.6% C 0.152 H 107.9°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#E7E460
RGBrgb(231, 228, 96)
HSLhsl(59, 74%, 64%)
HSVhsv(59, 58%, 91%)
CMYKcmyk(0%, 1.3%, 58.4%, 9.4%)
CIE-LABlab(88.60, -15.35, 63.15)
CIE-LCHlch(88.60, 64.99, 103.66°)
OKLaboklab(89.64% -0.0468 0.1451)
OKLCHoklch(89.64% 0.152 107.9)
XYZxyz(62.8116, 73.3221, 21.9079)
Luminance0.7332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E460 #6063E7
analogous
#E7A160 #E7E460 #A7E760
triadic
#E7E460 #60E7E4 #E460E7
tetradic
#E7E460 #60E7A1 #6063E7 #E760A7
square
#E7E460 #60E7A1 #6063E7 #E760A7
split-complementary
#E7E460 #60A7E7 #A160E7
monochromatic
#B2AE1B #DFDB2B #E7E460 #EFED95 #F7F6CA

Accessibility & contrast

On white

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

On black

15.66
#E7E460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E460
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E460#FFFFFF#000000##000000
##E7E4601.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC51
Deuteranopia (green-blind)
#F8E168
Tritanopia (blue-blind)
#F6D7C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e7e460;
/* rgb */ color: rgb(231, 228, 96);
/* oklch */ color: oklch(89.6% 0.152 107.9);
Tailwind
colors: {
  custom: {
    50: '#f1ec92',
    500: '#e7e460',
    950: '#000000',
  },
}
SCSS
$custom: #e7e460;
$custom-light: #f1ec92;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e460",
  "rgb": {
    "r": 231,
    "g": 228,
    "b": 96
  },
  "hsl": {
    "h": 58.667,
    "s": 73.77,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89643,
    "c": 0.15248,
    "h": 107.9
  },
  "luminance": 0.7332
}

Semantic roles & 50–950 ramp

primary
#E7E460
secondary
#393CB2
accent
#14D610
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7E460

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

Preview Lab → · Contrast checker → · Palette generator →

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