#EBEF96#EBEF96

#EBEF96 is a very light, moderate yellow. Relative luminance 0.816; OKLCH L 92.9% C 0.111 H 110.6°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#EBEF96
RGBrgb(235, 239, 150)
HSLhsl(63, 74%, 76%)
HSVhsv(63, 37%, 94%)
CMYKcmyk(1.7%, 0%, 37.2%, 6.3%)
CIE-LABlab(92.40, -14.34, 42.61)
CIE-LCHlch(92.40, 44.96, 108.60°)
OKLaboklab(92.94% -0.0392 0.1043)
OKLCHoklch(92.94% 0.111 110.6)
XYZxyz(70.6332, 81.5983, 40.8774)
Luminance0.8160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEF96 #9A96EF
analogous
#EFC796 #EBEF96 #BFEF96
triadic
#EBEF96 #96EBEF #EF96EB
tetradic
#EBEF96 #96EFC7 #9A96EF #EF96BF
square
#EBEF96 #96EFC7 #9A96EF #EF96BF
split-complementary
#EBEF96 #96BFEF #C796EF
monochromatic
#D7DF2C #E1E761 #EBEF96 #F5F7CB #FAFBE4

Accessibility & contrast

On white

1.21
#EBEF96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.32
#EBEF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEF96
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEF96#FFFFFF#000000##000000
##EBEF961.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE88F
Deuteranopia (green-blind)
#FDEB9A
Tritanopia (blue-blind)
#F6E5D9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ebef96;
/* rgb */ color: rgb(235, 239, 150);
/* oklch */ color: oklch(92.9% 0.111 110.6);
Tailwind
colors: {
  custom: {
    50: '#f2f4b6',
    500: '#ebef96',
    950: '#000000',
  },
}
SCSS
$custom: #ebef96;
$custom-light: #f2f4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebef96",
  "rgb": {
    "r": 235,
    "g": 239,
    "b": 150
  },
  "hsl": {
    "h": 62.697,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.92943,
    "c": 0.11139,
    "h": 110.6
  },
  "luminance": 0.81597
}

Semantic roles & 50–950 ramp

primary
#EBEF96
secondary
#635ECB
accent
#10D619
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBEF96

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

Preview Lab → · Contrast checker → · Palette generator →

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