#E7EA5C#E7EA5C

#E7EA5C is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 90.9% C 0.162 H 110.4°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#E7EA5C
RGBrgb(231, 234, 92)
HSLhsl(61, 77%, 64%)
HSVhsv(61, 61%, 92%)
CMYKcmyk(1.3%, 0%, 60.7%, 8.2%)
CIE-LABlab(90.14, -18.55, 66.50)
CIE-LCHlch(90.14, 69.04, 105.59°)
OKLaboklab(90.86% -0.0563 0.1517)
OKLCHoklch(90.86% 0.162 110.4)
XYZxyz(64.3115, 76.6089, 21.5224)
Luminance0.7661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EA5C #5F5CEA
analogous
#EAA65C #E7EA5C #A0EA5C
triadic
#E7EA5C #5CE7EA #EA5CE7
tetradic
#E7EA5C #5CEAA6 #5F5CEA #EA5CA0
square
#E7EA5C #5CEAA6 #5F5CEA #EA5CA0
split-complementary
#E7EA5C #5CA0EA #A65CEA
monochromatic
#B1B417 #DFE326 #E7EA5C #EFF192 #F7F8C8

Accessibility & contrast

On white

1.29
#E7EA5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.32
#E7EA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EA5C
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EA5C#FFFFFF#000000##000000
##E7EA5C1.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE04B
Deuteranopia (green-blind)
#FCE565
Tritanopia (blue-blind)
#F6DCCC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e7ea5c;
/* rgb */ color: rgb(231, 234, 92);
/* oklch */ color: oklch(90.9% 0.162 110.4);
Tailwind
colors: {
  custom: {
    50: '#f2f090',
    500: '#e7ea5c',
    950: '#000000',
  },
}
SCSS
$custom: #e7ea5c;
$custom-light: #f2f090;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ea5c",
  "rgb": {
    "r": 231,
    "g": 234,
    "b": 92
  },
  "hsl": {
    "h": 61.268,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90861,
    "c": 0.1618,
    "h": 110.4
  },
  "luminance": 0.76607
}

Semantic roles & 50–950 ramp

primary
#E7EA5C
secondary
#3936B4
accent
#0CD910
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E7EA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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