#E7EB5C#E7EB5C

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

Color values

HEX#E7EB5C
RGBrgb(231, 235, 92)
HSLhsl(62, 78%, 64%)
HSVhsv(62, 61%, 92%)
CMYKcmyk(1.7%, 0%, 60.9%, 7.8%)
CIE-LABlab(90.40, -19.04, 66.78)
CIE-LCHlch(90.40, 69.44, 105.91°)
OKLaboklab(91.07% -0.0577 0.1523)
OKLCHoklch(91.07% 0.163 110.8)
XYZxyz(64.5969, 77.1799, 21.6175)
Luminance0.7718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EB5C #605CEB
analogous
#EBA85C #E7EB5C #A0EB5C
triadic
#E7EB5C #5CE7EB #EB5CE7
tetradic
#E7EB5C #5CEBA8 #605CEB #EB5CA0
square
#E7EB5C #5CEBA8 #605CEB #EB5CA0
split-complementary
#E7EB5C #5CA0EB #A85CEB
monochromatic
#B2B616 #DFE425 #E7EB5C #EFF293 #F7F8C9

Accessibility & contrast

On white

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

On black

16.44
#E7EB5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EB5C
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EB5C#FFFFFF#000000##000000
##E7EB5C1.001.2816.4416.44
#FFFFFF1.281.0021.0021.00
#00000016.4421.001.001.00
##00000016.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE14B
Deuteranopia (green-blind)
#FDE665
Tritanopia (blue-blind)
#F6DDCD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e7eb5c;
/* rgb */ color: rgb(231, 235, 92);
/* oklch */ color: oklch(91.1% 0.163 110.8);
Tailwind
colors: {
  custom: {
    50: '#f2f190',
    500: '#e7eb5c',
    950: '#000000',
  },
}
SCSS
$custom: #e7eb5c;
$custom-light: #f2f190;
$custom-dark: #000000;
JSON
{
  "hex": "#e7eb5c",
  "rgb": {
    "r": 231,
    "g": 235,
    "b": 92
  },
  "hsl": {
    "h": 61.678,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.91071,
    "c": 0.16283,
    "h": 110.8
  },
  "luminance": 0.77178
}

Semantic roles & 50–950 ramp

primary
#E7EB5C
secondary
#3935B6
accent
#0BDA11
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E7EB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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