#E7E861#E7E861

#E7E861 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.5% C 0.156 H 109.5°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#E7E861
RGBrgb(231, 232, 97)
HSLhsl(60, 75%, 65%)
HSVhsv(60, 58%, 91%)
CMYKcmyk(0.4%, 0%, 58.2%, 9%)
CIE-LABlab(89.66, -17.24, 63.89)
CIE-LCHlch(89.66, 66.17, 105.10°)
OKLaboklab(90.49% -0.0521 0.1468)
OKLCHoklch(90.49% 0.156 109.5)
XYZxyz(63.9711, 75.5669, 22.5230)
Luminance0.7557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E861 #6261E8
analogous
#E8A561 #E7E861 #A4E861
triadic
#E7E861 #61E7E8 #E861E7
tetradic
#E7E861 #61E8A5 #6261E8 #E861A4
square
#E7E861 #61E8A5 #6261E8 #E861A4
split-complementary
#E7E861 #61A4E8 #A561E8
monochromatic
#B3B41A #DFE02C #E7E861 #EFF096 #F7F8CC

Accessibility & contrast

On white

1.30
#E7E861 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.11
#E7E861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E861
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E861#FFFFFF#000000##000000
##E7E8611.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF52
Deuteranopia (green-blind)
#FBE469
Tritanopia (blue-blind)
#F6DBCB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e7e861;
/* rgb */ color: rgb(231, 232, 97);
/* oklch */ color: oklch(90.5% 0.156 109.5);
Tailwind
colors: {
  custom: {
    50: '#f1ef93',
    500: '#e7e861',
    950: '#000000',
  },
}
SCSS
$custom: #e7e861;
$custom-light: #f1ef93;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e861",
  "rgb": {
    "r": 231,
    "g": 232,
    "b": 97
  },
  "hsl": {
    "h": 60.444,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90489,
    "c": 0.15577,
    "h": 109.5
  },
  "luminance": 0.75565
}

Semantic roles & 50–950 ramp

primary
#E7E861
secondary
#3A39B5
accent
#0FD710
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E7E861

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

Preview Lab → · Contrast checker → · Palette generator →

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