#EBF996#EBF996

#EBF996 is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.0% C 0.124 H 115.4°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#EBF996
RGBrgb(235, 249, 150)
HSLhsl(68, 89%, 78%)
HSVhsv(68, 40%, 98%)
CMYKcmyk(5.6%, 0%, 39.8%, 2.4%)
CIE-LABlab(95.00, -19.21, 45.93)
CIE-LCHlch(95.00, 49.78, 112.70°)
OKLaboklab(95.02% -0.0531 0.1118)
OKLCHoklch(95.02% 0.124 115.4)
XYZxyz(73.6422, 87.6163, 41.8804)
Luminance0.8762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF996 #A496F9
analogous
#F9D596 #EBF996 #B9F996
triadic
#EBF996 #96EBF9 #F996EB
tetradic
#EBF996 #96F9D5 #A496F9 #F996B9
square
#EBF996 #96F9D5 #A496F9 #F996B9
split-complementary
#EBF996 #96B9F9 #D596F9
monochromatic
#D5F222 #E0F65C #EBF996 #F6FCD0 #F9FDE2

Accessibility & contrast

On white

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

On black

18.52
#EBF996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF996
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF996#FFFFFF#000000##000000
##EBF9961.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF08E
Deuteranopia (green-blind)
#FFF29B
Tritanopia (blue-blind)
#F5EFE1
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ebf996;
/* rgb */ color: rgb(235, 249, 150);
/* oklch */ color: oklch(95.0% 0.124 115.4);
Tailwind
colors: {
  custom: {
    50: '#f3fbb6',
    500: '#ebf996',
    950: '#000000',
  },
}
SCSS
$custom: #ebf996;
$custom-light: #f3fbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf996",
  "rgb": {
    "r": 235,
    "g": 249,
    "b": 150
  },
  "hsl": {
    "h": 68.485,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.95015,
    "c": 0.12378,
    "h": 115.4
  },
  "luminance": 0.87616
}

Semantic roles & 50–950 ramp

primary
#EBF996
secondary
#6C5AD9
accent
#00E620
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBF996

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

Preview Lab → · Contrast checker → · Palette generator →

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