#EBF787#EBF787

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

Color values

HEX#EBF787
RGBrgb(235, 247, 135)
HSLhsl(66, 88%, 75%)
HSVhsv(66, 45%, 97%)
CMYKcmyk(4.9%, 0%, 45.3%, 3.1%)
CIE-LABlab(94.28, -19.79, 52.21)
CIE-LCHlch(94.28, 55.84, 110.76°)
OKLaboklab(94.38% -0.0559 0.1251)
OKLCHoklch(94.38% 0.137 114.1)
XYZxyz(71.8958, 85.9340, 35.7165)
Luminance0.8593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF787 #9387F7
analogous
#F7CB87 #EBF787 #B3F787
triadic
#EBF787 #87EBF7 #F787EB
tetradic
#EBF787 #87F7CB #9387F7 #F787B3
square
#EBF787 #87F7CB #9387F7 #F787B3
split-complementary
#EBF787 #87B3F7 #CB87F7
monochromatic
#D8EF14 #E1F34E #EBF787 #F5FBC0 #FAFDE2

Accessibility & contrast

On white

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

On black

18.19
#EBF787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF787
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF787#FFFFFF#000000##000000
##EBF7871.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7E
Deuteranopia (green-blind)
#FFF08D
Tritanopia (blue-blind)
#F7ECDD
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ebf787;
/* rgb */ color: rgb(235, 247, 135);
/* oklch */ color: oklch(94.4% 0.137 114.1);
Tailwind
colors: {
  custom: {
    50: '#f3f9ac',
    500: '#ebf787',
    950: '#000000',
  },
}
SCSS
$custom: #ebf787;
$custom-light: #f3f9ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf787",
  "rgb": {
    "r": 235,
    "g": 247,
    "b": 135
  },
  "hsl": {
    "h": 66.429,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.94382,
    "c": 0.13697,
    "h": 114.1
  },
  "luminance": 0.85933
}

Semantic roles & 50–950 ramp

primary
#EBF787
secondary
#5C4ED4
accent
#01E41A
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #EBF787

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

Preview Lab → · Contrast checker → · Palette generator →

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