#E7E56A#E7E56A

#E7E56A is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.0% C 0.145 H 108.1°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#E7E56A
RGBrgb(231, 229, 106)
HSLhsl(59, 72%, 66%)
HSVhsv(59, 54%, 91%)
CMYKcmyk(0%, 0.9%, 54.1%, 9.4%)
CIE-LABlab(88.96, -15.12, 59.18)
CIE-LCHlch(88.96, 61.08, 104.33°)
OKLaboklab(89.96% -0.0451 0.1378)
OKLCHoklch(89.96% 0.145 108.1)
XYZxyz(63.5776, 74.0699, 24.5807)
Luminance0.7407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E56A #6A6CE7
analogous
#E7A66A #E7E56A #AAE76A
triadic
#E7E56A #6AE7E5 #E56AE7
tetradic
#E7E56A #6AE7A6 #6A6CE7 #E76AAA
square
#E7E56A #6AE7A6 #6A6CE7 #E76AAA
split-complementary
#E7E56A #6AAAE7 #A66AE7
monochromatic
#B9B61E #DFDC35 #E7E56A #EFEE9F #F8F7D3

Accessibility & contrast

On white

1.33
#E7E56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.81
#E7E56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E56A
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E56A#FFFFFF#000000##000000
##E7E56A1.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD5E
Deuteranopia (green-blind)
#F8E271
Tritanopia (blue-blind)
#F6D8CA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e7e56a;
/* rgb */ color: rgb(231, 229, 106);
/* oklch */ color: oklch(90.0% 0.145 108.1);
Tailwind
colors: {
  custom: {
    50: '#f1ed98',
    500: '#e7e56a',
    950: '#000000',
  },
}
SCSS
$custom: #e7e56a;
$custom-light: #f1ed98;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e56a",
  "rgb": {
    "r": 231,
    "g": 229,
    "b": 106
  },
  "hsl": {
    "h": 59.04,
    "s": 72.254,
    "l": 66.078
  },
  "oklch": {
    "l": 0.89955,
    "c": 0.14498,
    "h": 108.1
  },
  "luminance": 0.74068
}

Semantic roles & 50–950 ramp

primary
#E7E56A
secondary
#3D3FB9
accent
#14D411
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7E56A

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

Preview Lab → · Contrast checker → · Palette generator →

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