#EBF98B#EBF98B

#EBF98B is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 94.9% C 0.135 H 115.0°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#EBF98B
RGBrgb(235, 249, 139)
HSLhsl(68, 90%, 76%)
HSVhsv(68, 44%, 98%)
CMYKcmyk(5.6%, 0%, 44.2%, 2.4%)
CIE-LABlab(94.86, -20.36, 51.02)
CIE-LCHlch(94.86, 54.94, 111.75°)
OKLaboklab(94.86% -0.0571 0.1227)
OKLCHoklch(94.86% 0.135 115)
XYZxyz(72.7976, 87.2785, 37.4326)
Luminance0.8728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF98B #998BF9
analogous
#F9D08B #EBF98B #B4F98B
triadic
#EBF98B #8BEBF9 #F98BEB
tetradic
#EBF98B #8BF9D0 #998BF9 #F98BB4
square
#EBF98B #8BF9D0 #998BF9 #F98BB4
split-complementary
#EBF98B #8BB4F9 #D08BF9
monochromatic
#D7F317 #E1F651 #EBF98B #F5FCC5 #FAFDE2

Accessibility & contrast

On white

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

On black

18.46
#EBF98B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF98B
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF98B#FFFFFF#000000##000000
##EBF98B1.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF82
Deuteranopia (green-blind)
#FFF190
Tritanopia (blue-blind)
#F6EEDF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ebf98b;
/* rgb */ color: rgb(235, 249, 139);
/* oklch */ color: oklch(94.9% 0.135 115.0);
Tailwind
colors: {
  custom: {
    50: '#f3fbaf',
    500: '#ebf98b',
    950: '#000000',
  },
}
SCSS
$custom: #ebf98b;
$custom-light: #f3fbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf98b",
  "rgb": {
    "r": 235,
    "g": 249,
    "b": 139
  },
  "hsl": {
    "h": 67.636,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.94855,
    "c": 0.13534,
    "h": 115
  },
  "luminance": 0.87278
}

Semantic roles & 50–950 ramp

primary
#EBF98B
secondary
#6251D8
accent
#00E61D
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #EBF98B

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

Preview Lab → · Contrast checker → · Palette generator →

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