#EBFB98#EBFB98

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

Color values

HEX#EBFB98
RGBrgb(235, 251, 152)
HSLhsl(70, 93%, 79%)
HSVhsv(70, 39%, 98%)
CMYKcmyk(6.4%, 0%, 39.4%, 1.6%)
CIE-LABlab(95.55, -19.96, 45.66)
CIE-LCHlch(95.55, 49.83, 113.61°)
OKLaboklab(95.46% -0.055 0.1113)
OKLCHoklch(95.46% 0.124 116.3)
XYZxyz(74.4260, 88.9242, 42.9430)
Luminance0.8892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBFB98 #A898FB
analogous
#FBDA98 #EBFB98 #BAFB98
triadic
#EBFB98 #98EBFB #FB98EB
tetradic
#EBFB98 #98FBDA #A898FB #FB98BA
square
#EBFB98 #98FBDA #A898FB #FB98BA
split-complementary
#EBFB98 #98BAFB #DA98FB
monochromatic
#D4F622 #E0F95D #EBFB98 #F6FDD3 #F9FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBFB98#FFFFFF#000000##000000
##EBFB981.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)
#FFF290
Deuteranopia (green-blind)
#FFF39D
Tritanopia (blue-blind)
#F5F1E3
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ebfb98;
/* rgb */ color: rgb(235, 251, 152);
/* oklch */ color: oklch(95.5% 0.124 116.3);
Tailwind
colors: {
  custom: {
    50: '#f3fcb7',
    500: '#ebfb98',
    950: '#000000',
  },
}
SCSS
$custom: #ebfb98;
$custom-light: #f3fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebfb98",
  "rgb": {
    "r": 235,
    "g": 251,
    "b": 152
  },
  "hsl": {
    "h": 69.697,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.95463,
    "c": 0.12418,
    "h": 116.3
  },
  "luminance": 0.88924
}

Semantic roles & 50–950 ramp

primary
#EBFB98
secondary
#705BDC
accent
#00E625
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBFB98

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

Preview Lab → · Contrast checker → · Palette generator →

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