#E7E958#E7E958

#E7E958 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.6% C 0.164 H 110.0°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#E7E958
RGBrgb(231, 233, 88)
HSLhsl(61, 77%, 63%)
HSVhsv(61, 62%, 91%)
CMYKcmyk(0.9%, 0%, 62.2%, 8.6%)
CIE-LABlab(89.85, -18.32, 67.81)
CIE-LCHlch(89.85, 70.24, 105.12°)
OKLaboklab(90.62% -0.0561 0.1539)
OKLCHoklch(90.62% 0.164 110)
XYZxyz(63.8573, 75.9730, 20.5311)
Luminance0.7597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E958 #5A58E9
analogous
#E9A358 #E7E958 #9EE958
triadic
#E7E958 #58E7E9 #E958E7
tetradic
#E7E958 #58E9A3 #5A58E9 #E9589E
square
#E7E958 #58E9A3 #5A58E9 #E9589E
split-complementary
#E7E958 #589EE9 #A358E9
monochromatic
#ADAF17 #DFE222 #E7E958 #EFF08E #F7F7C4

Accessibility & contrast

On white

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

On black

16.19
#E7E958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E958
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E958#FFFFFF#000000##000000
##E7E9581.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE045
Deuteranopia (green-blind)
#FCE461
Tritanopia (blue-blind)
#F6DBCB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e7e958;
/* rgb */ color: rgb(231, 233, 88);
/* oklch */ color: oklch(90.6% 0.164 110.0);
Tailwind
colors: {
  custom: {
    50: '#f2ef8e',
    500: '#e7e958',
    950: '#000000',
  },
}
SCSS
$custom: #e7e958;
$custom-light: #f2ef8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e958",
  "rgb": {
    "r": 231,
    "g": 233,
    "b": 88
  },
  "hsl": {
    "h": 60.828,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.90616,
    "c": 0.16379,
    "h": 110
  },
  "luminance": 0.75971
}

Semantic roles & 50–950 ramp

primary
#E7E958
secondary
#3735B0
accent
#0DD90F
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E7E958

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

Preview Lab → · Contrast checker → · Palette generator →

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