#EBEF98#EBEF98

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

Color values

HEX#EBEF98
RGBrgb(235, 239, 152)
HSLhsl(63, 73%, 77%)
HSVhsv(63, 36%, 94%)
CMYKcmyk(1.7%, 0%, 36.4%, 6.3%)
CIE-LABlab(92.43, -14.12, 41.66)
CIE-LCHlch(92.43, 43.99, 108.72°)
OKLaboklab(92.98% -0.0384 0.1022)
OKLCHoklch(92.98% 0.109 110.6)
XYZxyz(70.7956, 81.6633, 41.7328)
Luminance0.8166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEF98 #9C98EF
analogous
#EFC898 #EBEF98 #C0EF98
triadic
#EBEF98 #98EBEF #EF98EB
tetradic
#EBEF98 #98EFC8 #9C98EF #EF98C0
square
#EBEF98 #98EFC8 #9C98EF #EF98C0
split-complementary
#EBEF98 #98C0EF #C898EF
monochromatic
#D6DF2E #E1E763 #EBEF98 #F5F7CD #FAFBE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBEF98#FFFFFF#000000##000000
##EBEF981.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)
#FCE892
Deuteranopia (green-blind)
#FCEB9C
Tritanopia (blue-blind)
#F6E5D9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ebef98;
/* rgb */ color: rgb(235, 239, 152);
/* oklch */ color: oklch(93.0% 0.109 110.6);
Tailwind
colors: {
  custom: {
    50: '#f2f4b7',
    500: '#ebef98',
    950: '#000000',
  },
}
SCSS
$custom: #ebef98;
$custom-light: #f2f4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebef98",
  "rgb": {
    "r": 235,
    "g": 239,
    "b": 152
  },
  "hsl": {
    "h": 62.759,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92975,
    "c": 0.10917,
    "h": 110.6
  },
  "luminance": 0.81662
}

Semantic roles & 50–950 ramp

primary
#EBEF98
secondary
#6560CC
accent
#10D519
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBEF98

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

Preview Lab → · Contrast checker → · Palette generator →

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