#EBF896#EBF896

#EBF896 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.8% C 0.123 H 115.0°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#EBF896
RGBrgb(235, 248, 150)
HSLhsl(68, 88%, 78%)
HSVhsv(68, 40%, 97%)
CMYKcmyk(5.2%, 0%, 39.5%, 2.7%)
CIE-LABlab(94.74, -18.73, 45.60)
CIE-LCHlch(94.74, 49.29, 112.33°)
OKLaboklab(94.81% -0.0517 0.1111)
OKLCHoklch(94.81% 0.123 115)
XYZxyz(73.3339, 86.9998, 41.7777)
Luminance0.8700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF896 #A396F8
analogous
#F8D496 #EBF896 #BAF896
triadic
#EBF896 #96EBF8 #F896EB
tetradic
#EBF896 #96F8D4 #A396F8 #F896BA
square
#EBF896 #96F8D4 #A396F8 #F896BA
split-complementary
#EBF896 #96BAF8 #D496F8
monochromatic
#D5F023 #E0F45D #EBF896 #F6FCCF #FAFDE2

Accessibility & contrast

On white

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

On black

18.40
#EBF896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF896
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF896#FFFFFF#000000##000000
##EBF8961.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8E
Deuteranopia (green-blind)
#FFF19B
Tritanopia (blue-blind)
#F5EEE0
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ebf896;
/* rgb */ color: rgb(235, 248, 150);
/* oklch */ color: oklch(94.8% 0.123 115.0);
Tailwind
colors: {
  custom: {
    50: '#f3fab6',
    500: '#ebf896',
    950: '#000000',
  },
}
SCSS
$custom: #ebf896;
$custom-light: #f3fab6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf896",
  "rgb": {
    "r": 235,
    "g": 248,
    "b": 150
  },
  "hsl": {
    "h": 67.959,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.94807,
    "c": 0.12252,
    "h": 115
  },
  "luminance": 0.86999
}

Semantic roles & 50–950 ramp

primary
#EBF896
secondary
#6B5BD8
accent
#01E41F
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBF896

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

Preview Lab → · Contrast checker → · Palette generator →

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