#EBF978#EBF978

#EBF978 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.6% C 0.154 H 114.5°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#EBF978
RGBrgb(235, 249, 120)
HSLhsl(67, 91%, 72%)
HSVhsv(67, 52%, 98%)
CMYKcmyk(5.6%, 0%, 51.8%, 2.4%)
CIE-LABlab(94.64, -22.11, 59.55)
CIE-LCHlch(94.64, 63.52, 110.37°)
OKLaboklab(94.61% -0.0638 0.1399)
OKLCHoklch(94.61% 0.154 114.5)
XYZxyz(71.5280, 86.7707, 30.7460)
Luminance0.8677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF978 #8678F9
analogous
#F9C778 #EBF978 #AAF978
triadic
#EBF978 #78EBF9 #F978EB
tetradic
#EBF978 #78F9C7 #8678F9 #F978AA
square
#EBF978 #78F9C7 #8678F9 #F978AA
split-complementary
#EBF978 #78AAF9 #C778F9
monochromatic
#D4EC0A #E2F63D #EBF978 #F4FCB3 #FBFEE2

Accessibility & contrast

On white

1.14
#EBF978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.35
#EBF978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF978
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF978#FFFFFF#000000##000000
##EBF9781.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6C
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#F8EDDC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ebf978;
/* rgb */ color: rgb(235, 249, 120);
/* oklch */ color: oklch(94.6% 0.154 114.5);
Tailwind
colors: {
  custom: {
    50: '#f4fba2',
    500: '#ebf978',
    950: '#000000',
  },
}
SCSS
$custom: #ebf978;
$custom-light: #f4fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf978",
  "rgb": {
    "r": 235,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 66.512,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94613,
    "c": 0.15378,
    "h": 114.5
  },
  "luminance": 0.8677
}

Semantic roles & 50–950 ramp

primary
#EBF978
secondary
#5040D5
accent
#00E619
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF978

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

Preview Lab → · Contrast checker → · Palette generator →

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