#E7E259#E7E259

#E7E259 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.2% C 0.156 H 107.2°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#E7E259
RGBrgb(231, 226, 89)
HSLhsl(58, 75%, 63%)
HSVhsv(58, 61%, 91%)
CMYKcmyk(0%, 2.2%, 61.5%, 9.4%)
CIE-LABlab(88.02, -14.83, 65.46)
CIE-LCHlch(88.02, 67.12, 102.76°)
OKLaboklab(89.16% -0.0461 0.1491)
OKLCHoklch(89.16% 0.156 107.2)
XYZxyz(61.9566, 72.1048, 20.1032)
Luminance0.7210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E259 #595EE7
analogous
#E79B59 #E7E259 #A5E759
triadic
#E7E259 #59E7E2 #E259E7
tetradic
#E7E259 #59E79B #595EE7 #E759A5
square
#E7E259 #59E79B #595EE7 #E759A5
split-complementary
#E7E259 #59A5E7 #9B59E7
monochromatic
#ADA719 #DFD924 #E7E259 #EFEB8E #F6F5C4

Accessibility & contrast

On white

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

On black

15.42
#E7E259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E259
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E259#FFFFFF#000000##000000
##E7E2591.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA48
Deuteranopia (green-blind)
#F6DF61
Tritanopia (blue-blind)
#F7D4C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e7e259;
/* rgb */ color: rgb(231, 226, 89);
/* oklch */ color: oklch(89.2% 0.156 107.2);
Tailwind
colors: {
  custom: {
    50: '#f2ea8e',
    500: '#e7e259',
    950: '#000000',
  },
}
SCSS
$custom: #e7e259;
$custom-light: #f2ea8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e259",
  "rgb": {
    "r": 231,
    "g": 226,
    "b": 89
  },
  "hsl": {
    "h": 57.887,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.8916,
    "c": 0.15603,
    "h": 107.2
  },
  "luminance": 0.72103
}

Semantic roles & 50–950 ramp

primary
#E7E259
secondary
#363BAE
accent
#16D70F
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7E259

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

Preview Lab → · Contrast checker → · Palette generator →

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