#E7EB5F#E7EB5F

#E7EB5F is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.1% C 0.161 H 110.7°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#E7EB5F
RGBrgb(231, 235, 95)
HSLhsl(62, 78%, 65%)
HSVhsv(62, 60%, 92%)
CMYKcmyk(1.7%, 0%, 59.6%, 7.8%)
CIE-LABlab(90.43, -18.84, 65.57)
CIE-LCHlch(90.43, 68.22, 106.03°)
OKLaboklab(91.1% -0.0568 0.1501)
OKLCHoklch(91.1% 0.161 110.7)
XYZxyz(64.7307, 77.2334, 22.3219)
Luminance0.7723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EB5F #635FEB
analogous
#EBA95F #E7EB5F #A1EB5F
triadic
#E7EB5F #5FE7EB #EB5FE7
tetradic
#E7EB5F #5FEBA9 #635FEB #EB5FA1
square
#E7EB5F #5FEBA9 #635FEB #EB5FA1
split-complementary
#E7EB5F #5FA1EB #A95FEB
monochromatic
#B4B917 #DFE429 #E7EB5F #EFF295 #F7F9CC

Accessibility & contrast

On white

1.28
#E7EB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#E7EB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EB5F
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EB5F#FFFFFF#000000##000000
##E7EB5F1.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE14F
Deuteranopia (green-blind)
#FDE668
Tritanopia (blue-blind)
#F6DECD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e7eb5f;
/* rgb */ color: rgb(231, 235, 95);
/* oklch */ color: oklch(91.1% 0.161 110.7);
Tailwind
colors: {
  custom: {
    50: '#f1f192',
    500: '#e7eb5f',
    950: '#000000',
  },
}
SCSS
$custom: #e7eb5f;
$custom-light: #f1f192;
$custom-dark: #000000;
JSON
{
  "hex": "#e7eb5f",
  "rgb": {
    "r": 231,
    "g": 235,
    "b": 95
  },
  "hsl": {
    "h": 61.714,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.91099,
    "c": 0.16051,
    "h": 110.7
  },
  "luminance": 0.77232
}

Semantic roles & 50–950 ramp

primary
#E7EB5F
secondary
#3A36B8
accent
#0BDA11
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E7EB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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