#EBEF97#EBEF97

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

Color values

HEX#EBEF97
RGBrgb(235, 239, 151)
HSLhsl(63, 73%, 76%)
HSVhsv(63, 37%, 94%)
CMYKcmyk(1.7%, 0%, 36.8%, 6.3%)
CIE-LABlab(92.41, -14.23, 42.14)
CIE-LCHlch(92.41, 44.48, 108.66°)
OKLaboklab(92.96% -0.0388 0.1032)
OKLCHoklch(92.96% 0.11 110.6)
XYZxyz(70.7141, 81.6307, 41.3033)
Luminance0.8163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEF97 #9B97EF
analogous
#EFC797 #EBEF97 #BFEF97
triadic
#EBEF97 #97EBEF #EF97EB
tetradic
#EBEF97 #97EFC7 #9B97EF #EF97BF
square
#EBEF97 #97EFC7 #9B97EF #EF97BF
split-complementary
#EBEF97 #97BFEF #C797EF
monochromatic
#D7DF2D #E1E762 #EBEF97 #F5F7CC #FAFBE4

Accessibility & contrast

On white

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

On black

17.33
#EBEF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEF97
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEF97#FFFFFF#000000##000000
##EBEF971.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebef97;
/* rgb */ color: rgb(235, 239, 151);
/* oklch */ color: oklch(93.0% 0.110 110.6);
Tailwind
colors: {
  custom: {
    50: '#f2f4b6',
    500: '#ebef97',
    950: '#000000',
  },
}
SCSS
$custom: #ebef97;
$custom-light: #f2f4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebef97",
  "rgb": {
    "r": 235,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 62.727,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.92959,
    "c": 0.11028,
    "h": 110.6
  },
  "luminance": 0.8163
}

Semantic roles & 50–950 ramp

primary
#EBEF97
secondary
#645FCB
accent
#10D519
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBEF97

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

Preview Lab → · Contrast checker → · Palette generator →

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