#EBF878#EBF878

#EBF878 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.4% C 0.153 H 114.2°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#EBF878
RGBrgb(235, 248, 120)
HSLhsl(66, 90%, 72%)
HSVhsv(66, 52%, 97%)
CMYKcmyk(5.2%, 0%, 51.6%, 2.7%)
CIE-LABlab(94.38, -21.63, 59.24)
CIE-LCHlch(94.38, 63.07, 110.06°)
OKLaboklab(94.4% -0.0624 0.1393)
OKLCHoklch(94.4% 0.153 114.2)
XYZxyz(71.2198, 86.1541, 30.6433)
Luminance0.8615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF878 #8578F8
analogous
#F8C578 #EBF878 #ABF878
triadic
#EBF878 #78EBF8 #F878EB
tetradic
#EBF878 #78F8C5 #8578F8 #F878AB
square
#EBF878 #78F8C5 #8578F8 #F878AB
split-complementary
#EBF878 #78ABF8 #C578F8
monochromatic
#D3E90C #E2F53E #EBF878 #F4FBB2 #FBFDE2

Accessibility & contrast

On white

1.15
#EBF878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.23
#EBF878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF878
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF878#FFFFFF#000000##000000
##EBF8781.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6C
Deuteranopia (green-blind)
#FFF07F
Tritanopia (blue-blind)
#F8ECDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ebf878;
/* rgb */ color: rgb(235, 248, 120);
/* oklch */ color: oklch(94.4% 0.153 114.2);
Tailwind
colors: {
  custom: {
    50: '#f4faa2',
    500: '#ebf878',
    950: '#000000',
  },
}
SCSS
$custom: #ebf878;
$custom-light: #f4faa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf878",
  "rgb": {
    "r": 235,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 66.094,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94403,
    "c": 0.15261,
    "h": 114.2
  },
  "luminance": 0.86153
}

Semantic roles & 50–950 ramp

primary
#EBF878
secondary
#4F40D4
accent
#00E617
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF878

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

Preview Lab → · Contrast checker → · Palette generator →

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