#EBF987#EBF987

#EBF987 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 94.8% C 0.139 H 114.9°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#EBF987
RGBrgb(235, 249, 135)
HSLhsl(67, 90%, 75%)
HSVhsv(67, 46%, 98%)
CMYKcmyk(5.6%, 0%, 45.8%, 2.4%)
CIE-LABlab(94.81, -20.75, 52.85)
CIE-LCHlch(94.81, 56.78, 111.44°)
OKLaboklab(94.8% -0.0586 0.1265)
OKLCHoklch(94.8% 0.139 114.9)
XYZxyz(72.5107, 87.1637, 35.9214)
Luminance0.8716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF987 #9587F9
analogous
#F9CE87 #EBF987 #B2F987
triadic
#EBF987 #87EBF9 #F987EB
tetradic
#EBF987 #87F9CE #9587F9 #F987B2
square
#EBF987 #87F9CE #9587F9 #F987B2
split-complementary
#EBF987 #87B2F9 #CE87F9
monochromatic
#D8F312 #E1F64D #EBF987 #F5FCC1 #FAFEE2

Accessibility & contrast

On white

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

On black

18.43
#EBF987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF987
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF987#FFFFFF#000000##000000
##EBF9871.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF7D
Deuteranopia (green-blind)
#FFF18D
Tritanopia (blue-blind)
#F7EEDE
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ebf987;
/* rgb */ color: rgb(235, 249, 135);
/* oklch */ color: oklch(94.8% 0.139 114.9);
Tailwind
colors: {
  custom: {
    50: '#f3fbac',
    500: '#ebf987',
    950: '#000000',
  },
}
SCSS
$custom: #ebf987;
$custom-light: #f3fbac;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf987",
  "rgb": {
    "r": 235,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 67.368,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.948,
    "c": 0.13939,
    "h": 114.9
  },
  "luminance": 0.87163
}

Semantic roles & 50–950 ramp

primary
#EBF987
secondary
#5E4DD7
accent
#00E61C
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #EBF987

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

Preview Lab → · Contrast checker → · Palette generator →

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