#E7E261#E7E261

#E7E261 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.2% C 0.150 H 107.0°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#E7E261
RGBrgb(231, 226, 97)
HSLhsl(58, 74%, 64%)
HSVhsv(58, 58%, 91%)
CMYKcmyk(0%, 2.2%, 58%, 9.4%)
CIE-LABlab(88.09, -14.30, 62.16)
CIE-LCHlch(88.09, 63.78, 102.95°)
OKLaboklab(89.24% -0.0437 0.1431)
OKLCHoklch(89.24% 0.15 107)
XYZxyz(62.3110, 72.2466, 21.9696)
Luminance0.7225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E261 #6166E7
analogous
#E79F61 #E7E261 #A9E761
triadic
#E7E261 #61E7E2 #E261E7
tetradic
#E7E261 #61E79F #6166E7 #E761A9
square
#E7E261 #61E79F #6166E7 #E761A9
split-complementary
#E7E261 #61A9E7 #9F61E7
monochromatic
#B2AD1B #DFD82C #E7E261 #EFEC96 #F7F6CB

Accessibility & contrast

On white

1.36
#E7E261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.45
#E7E261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E261
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E261#FFFFFF#000000##000000
##E7E2611.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA53
Deuteranopia (green-blind)
#F6DF68
Tritanopia (blue-blind)
#F6D5C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e7e261;
/* rgb */ color: rgb(231, 226, 97);
/* oklch */ color: oklch(89.2% 0.150 107.0);
Tailwind
colors: {
  custom: {
    50: '#f1ea92',
    500: '#e7e261',
    950: '#000000',
  },
}
SCSS
$custom: #e7e261;
$custom-light: #f1ea92;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e261",
  "rgb": {
    "r": 231,
    "g": 226,
    "b": 97
  },
  "hsl": {
    "h": 57.761,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.89236,
    "c": 0.14965,
    "h": 107
  },
  "luminance": 0.72245
}

Semantic roles & 50–950 ramp

primary
#E7E261
secondary
#393EB3
accent
#17D610
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7E261

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

Preview Lab → · Contrast checker → · Palette generator →

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