#EBF786#EBF786

#EBF786 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.4% C 0.138 H 114.0°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#EBF786
RGBrgb(235, 247, 134)
HSLhsl(66, 88%, 75%)
HSVhsv(66, 46%, 97%)
CMYKcmyk(4.9%, 0%, 45.7%, 3.1%)
CIE-LABlab(94.27, -19.89, 52.67)
CIE-LCHlch(94.27, 56.30, 110.68°)
OKLaboklab(94.37% -0.0562 0.126)
OKLCHoklch(94.37% 0.138 114)
XYZxyz(71.8258, 85.9059, 35.3474)
Luminance0.8590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF786 #9286F7
analogous
#F7CB86 #EBF786 #B2F786
triadic
#EBF786 #86EBF7 #F786EB
tetradic
#EBF786 #86F7CB #9286F7 #F786B2
square
#EBF786 #86F7CB #9286F7 #F786B2
split-complementary
#EBF786 #86B2F7 #CB86F7
monochromatic
#D8EF13 #E2F34D #EBF786 #F4FBBF #FAFDE2

Accessibility & contrast

On white

1.16
#EBF786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.18
#EBF786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF786
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF786#FFFFFF#000000##000000
##EBF7861.001.1618.1818.18
#FFFFFF1.161.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7C
Deuteranopia (green-blind)
#FFF08C
Tritanopia (blue-blind)
#F7ECDD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ebf786;
/* rgb */ color: rgb(235, 247, 134);
/* oklch */ color: oklch(94.4% 0.138 114.0);
Tailwind
colors: {
  custom: {
    50: '#f3f9ab',
    500: '#ebf786',
    950: '#000000',
  },
}
SCSS
$custom: #ebf786;
$custom-light: #f3f9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf786",
  "rgb": {
    "r": 235,
    "g": 247,
    "b": 134
  },
  "hsl": {
    "h": 66.372,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94369,
    "c": 0.13798,
    "h": 114
  },
  "luminance": 0.85905
}

Semantic roles & 50–950 ramp

primary
#EBF786
secondary
#5B4DD4
accent
#01E419
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #EBF786

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

Preview Lab → · Contrast checker → · Palette generator →

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