#EBF587#EBF587

#EBF587 is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.0% C 0.135 H 113.3°. Best body text is #000000 at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#EBF587
RGBrgb(235, 245, 135)
HSLhsl(65, 85%, 75%)
HSVhsv(65, 45%, 96%)
CMYKcmyk(4.1%, 0%, 44.9%, 3.9%)
CIE-LABlab(93.76, -18.82, 51.57)
CIE-LCHlch(93.76, 54.90, 110.05°)
OKLaboklab(93.97% -0.0531 0.1236)
OKLCHoklch(93.97% 0.135 113.3)
XYZxyz(71.2875, 84.7173, 35.5137)
Luminance0.8472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF587 #9187F5
analogous
#F5C887 #EBF587 #B4F587
triadic
#EBF587 #87EBF5 #F587EB
tetradic
#EBF587 #87F5C8 #9187F5 #F587B4
square
#EBF587 #87F5C8 #9187F5 #F587B4
split-complementary
#EBF587 #87B4F5 #C887F5
monochromatic
#D8EC16 #E2F04F #EBF587 #F4FABF #FAFDE3

Accessibility & contrast

On white

1.17
#EBF587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.94
#EBF587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF587
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF587#FFFFFF#000000##000000
##EBF5871.001.1717.9417.94
#FFFFFF1.171.0021.0021.00
#00000017.9421.001.001.00
##00000017.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7E
Deuteranopia (green-blind)
#FFEE8C
Tritanopia (blue-blind)
#F7EADB
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ebf587;
/* rgb */ color: rgb(235, 245, 135);
/* oklch */ color: oklch(94.0% 0.135 113.3);
Tailwind
colors: {
  custom: {
    50: '#f3f8ac',
    500: '#ebf587',
    950: '#000000',
  },
}
SCSS
$custom: #ebf587;
$custom-light: #f3f8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf587",
  "rgb": {
    "r": 235,
    "g": 245,
    "b": 135
  },
  "hsl": {
    "h": 65.455,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.93965,
    "c": 0.13457,
    "h": 113.3
  },
  "luminance": 0.84716
}

Semantic roles & 50–950 ramp

primary
#EBF587
secondary
#5A4ED2
accent
#04E118
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #EBF587

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

Preview Lab → · Contrast checker → · Palette generator →

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