#EBFB97#EBFB97

#EBFB97 is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.4% C 0.125 H 116.3°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#EBFB97
RGBrgb(235, 251, 151)
HSLhsl(70, 93%, 79%)
HSVhsv(70, 40%, 98%)
CMYKcmyk(6.4%, 0%, 39.8%, 1.6%)
CIE-LABlab(95.54, -20.07, 46.12)
CIE-LCHlch(95.54, 50.30, 113.51°)
OKLaboklab(95.45% -0.0554 0.1123)
OKLCHoklch(95.45% 0.125 116.3)
XYZxyz(74.3445, 88.8916, 42.5134)
Luminance0.8889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBFB97 #A797FB
analogous
#FBD997 #EBFB97 #B9FB97
triadic
#EBFB97 #97EBFB #FB97EB
tetradic
#EBFB97 #97FBD9 #A797FB #FB97B9
square
#EBFB97 #97FBD9 #A797FB #FB97B9
split-complementary
#EBFB97 #97B9FB #D997FB
monochromatic
#D4F621 #E0F95C #EBFB97 #F6FDD2 #F9FEE2

Accessibility & contrast

On white

1.12
#EBFB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.78
#EBFB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBFB97
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBFB97#FFFFFF#000000##000000
##EBFB971.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28F
Deuteranopia (green-blind)
#FFF39C
Tritanopia (blue-blind)
#F5F1E3
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ebfb97;
/* rgb */ color: rgb(235, 251, 151);
/* oklch */ color: oklch(95.4% 0.125 116.3);
Tailwind
colors: {
  custom: {
    50: '#f3fcb7',
    500: '#ebfb97',
    950: '#000000',
  },
}
SCSS
$custom: #ebfb97;
$custom-light: #f3fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebfb97",
  "rgb": {
    "r": 235,
    "g": 251,
    "b": 151
  },
  "hsl": {
    "h": 69.6,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.95447,
    "c": 0.12525,
    "h": 116.3
  },
  "luminance": 0.88891
}

Semantic roles & 50–950 ramp

primary
#EBFB97
secondary
#6F5ADC
accent
#00E625
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBFB97

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

Preview Lab → · Contrast checker → · Palette generator →

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