#E7E266#E7E266

#E7E266 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.3% C 0.145 H 106.9°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#E7E266
RGBrgb(231, 226, 102)
HSLhsl(58, 73%, 65%)
HSVhsv(58, 56%, 91%)
CMYKcmyk(0%, 2.2%, 55.8%, 9.4%)
CIE-LABlab(88.13, -13.94, 60.02)
CIE-LCHlch(88.13, 61.62, 103.07°)
OKLaboklab(89.29% -0.0422 0.1392)
OKLCHoklch(89.29% 0.145 106.9)
XYZxyz(62.5515, 72.3428, 23.2364)
Luminance0.7234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E266 #666BE7
analogous
#E7A166 #E7E266 #ACE766
triadic
#E7E266 #66E7E2 #E266E7
tetradic
#E7E266 #66E7A1 #666BE7 #E766AC
square
#E7E266 #66E7A1 #666BE7 #E766AC
split-complementary
#E7E266 #66ACE7 #A166E7
monochromatic
#B6B01D #DFD831 #E7E266 #EFEC9B #F8F6D0

Accessibility & contrast

On white

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

On black

15.47
#E7E266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E266
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E266#FFFFFF#000000##000000
##E7E2661.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA59
Deuteranopia (green-blind)
#F6DF6D
Tritanopia (blue-blind)
#F6D5C7
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e7e266;
/* rgb */ color: rgb(231, 226, 102);
/* oklch */ color: oklch(89.3% 0.145 106.9);
Tailwind
colors: {
  custom: {
    50: '#f1ea96',
    500: '#e7e266',
    950: '#000000',
  },
}
SCSS
$custom: #e7e266;
$custom-light: #f1ea96;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e266",
  "rgb": {
    "r": 231,
    "g": 226,
    "b": 102
  },
  "hsl": {
    "h": 57.674,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.89288,
    "c": 0.14541,
    "h": 106.9
  },
  "luminance": 0.72341
}

Semantic roles & 50–950 ramp

primary
#E7E266
secondary
#3B40B6
accent
#18D511
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7E266

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

Preview Lab → · Contrast checker → · Palette generator →

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