#EBF796#EBF796

#EBF796 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.6% C 0.121 H 114.5°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#EBF796
RGBrgb(235, 247, 150)
HSLhsl(67, 86%, 78%)
HSVhsv(67, 39%, 97%)
CMYKcmyk(4.9%, 0%, 39.3%, 3.1%)
CIE-LABlab(94.48, -18.24, 45.27)
CIE-LCHlch(94.48, 48.80, 111.95°)
OKLaboklab(94.6% -0.0503 0.1103)
OKLCHoklch(94.6% 0.121 114.5)
XYZxyz(73.0273, 86.3866, 41.6754)
Luminance0.8639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF796 #A296F7
analogous
#F7D396 #EBF796 #BAF796
triadic
#EBF796 #96EBF7 #F796EB
tetradic
#EBF796 #96F7D3 #A296F7 #F796BA
square
#EBF796 #96F7D3 #A296F7 #F796BA
split-complementary
#EBF796 #96BAF7 #D396F7
monochromatic
#D5EE24 #E0F35D #EBF796 #F6FBCF #FAFDE3

Accessibility & contrast

On white

1.15
#EBF796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.28
#EBF796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF796
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF796#FFFFFF#000000##000000
##EBF7961.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8F
Deuteranopia (green-blind)
#FFF09B
Tritanopia (blue-blind)
#F5EDDF
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ebf796;
/* rgb */ color: rgb(235, 247, 150);
/* oklch */ color: oklch(94.6% 0.121 114.5);
Tailwind
colors: {
  custom: {
    50: '#f3f9b6',
    500: '#ebf796',
    950: '#000000',
  },
}
SCSS
$custom: #ebf796;
$custom-light: #f3f9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf796",
  "rgb": {
    "r": 235,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 67.423,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.94599,
    "c": 0.12126,
    "h": 114.5
  },
  "luminance": 0.86386
}

Semantic roles & 50–950 ramp

primary
#EBF796
secondary
#6A5BD6
accent
#03E21F
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBF796

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

Preview Lab → · Contrast checker → · Palette generator →

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