#E7E78B#E7E78B

#E7E78B is a very light, moderate yellow. Relative luminance 0.760; OKLCH L 90.8% C 0.115 H 108.5°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#E7E78B
RGBrgb(231, 231, 139)
HSLhsl(60, 66%, 73%)
HSVhsv(60, 40%, 91%)
CMYKcmyk(0%, 0%, 39.8%, 9.4%)
CIE-LABlab(89.86, -13.11, 44.73)
CIE-LCHlch(89.86, 46.61, 106.33°)
OKLaboklab(90.8% -0.0363 0.1086)
OKLCHoklch(90.8% 0.115 108.5)
XYZxyz(66.1921, 76.0062, 35.6049)
Luminance0.7601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E78B #8B8BE7
analogous
#E7B98B #E7E78B #B9E78B
triadic
#E7E78B #8BE7E7 #E78BE7
tetradic
#E7E78B #8BE7B9 #8B8BE7 #E78BB9
square
#E7E78B #8BE7B9 #8B8BE7 #E78BB9
split-complementary
#E7E78B #8BB9E7 #B98BE7
monochromatic
#CDCD2A #DDDD58 #E7E78B #F1F1BE #FAFAE6

Accessibility & contrast

On white

1.30
#E7E78B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.20
#E7E78B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E78B
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E78B#FFFFFF#000000##000000
##E7E78B1.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E084
Deuteranopia (green-blind)
#F6E48F
Tritanopia (blue-blind)
#F3DCD1
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e7e78b;
/* rgb */ color: rgb(231, 231, 139);
/* oklch */ color: oklch(90.8% 0.115 108.5);
Tailwind
colors: {
  custom: {
    50: '#f0eeae',
    500: '#e7e78b',
    950: '#000000',
  },
}
SCSS
$custom: #e7e78b;
$custom-light: #f0eeae;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e78b",
  "rgb": {
    "r": 231,
    "g": 231,
    "b": 139
  },
  "hsl": {
    "h": 60,
    "s": 65.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.90802,
    "c": 0.1145,
    "h": 108.5
  },
  "luminance": 0.76005
}

Semantic roles & 50–950 ramp

primary
#E7E78B
secondary
#5656C0
accent
#18CE18
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #E7E78B

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

Preview Lab → · Contrast checker → · Palette generator →

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