#EBF8AB#EBF8AB

#EBF8AB is a very light, moderate yellow-green. Relative luminance 0.877; OKLCH L 95.2% C 0.099 H 116.1°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#EBF8AB
RGBrgb(235, 248, 171)
HSLhsl(70, 85%, 82%)
HSVhsv(70, 31%, 97%)
CMYKcmyk(5.2%, 0%, 31%, 2.7%)
CIE-LABlab(95.05, -16.26, 35.64)
CIE-LCHlch(95.05, 39.18, 114.52°)
OKLaboklab(95.16% -0.0435 0.0888)
OKLCHoklch(95.16% 0.099 116.1)
XYZxyz(75.1789, 87.7378, 51.4948)
Luminance0.8774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF8AB #B8ABF8
analogous
#F8DFAB #EBF8AB #C5F8AB
triadic
#EBF8AB #ABEBF8 #F8ABEB
tetradic
#EBF8AB #ABF8DF #B8ABF8 #F8ABC5
square
#EBF8AB #ABF8DF #B8ABF8 #F8ABC5
split-complementary
#EBF8AB #ABC5F8 #DFABF8
monochromatic
#D0EF3A #DEF373 #EBF8AB #F8FDE3 #F8FDE3

Accessibility & contrast

On white

1.13
#EBF8AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.55
#EBF8AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF8AB
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF8AB#FFFFFF#000000##000000
##EBF8AB1.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF0A6
Deuteranopia (green-blind)
#FFF1AE
Tritanopia (blue-blind)
#F3F0E4
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ebf8ab;
/* rgb */ color: rgb(235, 248, 171);
/* oklch */ color: oklch(95.2% 0.099 116.1);
Tailwind
colors: {
  custom: {
    50: '#f2fac4',
    500: '#ebf8ab',
    950: '#000000',
  },
}
SCSS
$custom: #ebf8ab;
$custom-light: #f2fac4;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf8ab",
  "rgb": {
    "r": 235,
    "g": 248,
    "b": 171
  },
  "hsl": {
    "h": 70.13,
    "s": 84.615,
    "l": 82.157
  },
  "oklch": {
    "l": 0.95158,
    "c": 0.09891,
    "h": 116.1
  },
  "luminance": 0.87737
}

Semantic roles & 50–950 ramp

primary
#EBF8AB
secondary
#806DDA
accent
#04E12A
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171713
muted
#858582

Preview Lab

Preview with #EBF8AB

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

Preview Lab → · Contrast checker → · Palette generator →

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