#E7EA5F#E7EA5F

#E7EA5F is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 90.9% C 0.159 H 110.3°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#E7EA5F
RGBrgb(231, 234, 95)
HSLhsl(61, 77%, 65%)
HSVhsv(61, 59%, 92%)
CMYKcmyk(1.3%, 0%, 59.4%, 8.2%)
CIE-LABlab(90.17, -18.35, 65.28)
CIE-LCHlch(90.17, 67.81, 105.70°)
OKLaboklab(90.89% -0.0554 0.1495)
OKLCHoklch(90.89% 0.159 110.3)
XYZxyz(64.4452, 76.6624, 22.2268)
Luminance0.7666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EA5F #625FEA
analogous
#EAA85F #E7EA5F #A2EA5F
triadic
#E7EA5F #5FE7EA #EA5FE7
tetradic
#E7EA5F #5FEAA8 #625FEA #EA5FA2
square
#E7EA5F #5FEAA8 #625FEA #EA5FA2
split-complementary
#E7EA5F #5FA2EA #A85FEA
monochromatic
#B3B718 #DFE329 #E7EA5F #EFF195 #F7F8CB

Accessibility & contrast

On white

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

On black

16.33
#E7EA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EA5F
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EA5F#FFFFFF#000000##000000
##E7EA5F1.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7ea5f;
/* rgb */ color: rgb(231, 234, 95);
/* oklch */ color: oklch(90.9% 0.159 110.3);
Tailwind
colors: {
  custom: {
    50: '#f1f092',
    500: '#e7ea5f',
    950: '#000000',
  },
}
SCSS
$custom: #e7ea5f;
$custom-light: #f1f092;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ea5f",
  "rgb": {
    "r": 231,
    "g": 234,
    "b": 95
  },
  "hsl": {
    "h": 61.295,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90889,
    "c": 0.15945,
    "h": 110.3
  },
  "luminance": 0.76661
}

Semantic roles & 50–950 ramp

primary
#E7EA5F
secondary
#3A37B6
accent
#0CD911
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E7EA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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