#EBF198#EBF198

#EBF198 is a very light, moderate yellow. Relative luminance 0.828; OKLCH L 93.4% C 0.112 H 111.7°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#EBF198
RGBrgb(235, 241, 152)
HSLhsl(64, 76%, 77%)
HSVhsv(64, 37%, 95%)
CMYKcmyk(2.5%, 0%, 36.9%, 5.5%)
CIE-LABlab(92.94, -15.10, 42.33)
CIE-LCHlch(92.94, 44.94, 109.63°)
OKLaboklab(93.39% -0.0412 0.1037)
OKLCHoklch(93.39% 0.112 111.7)
XYZxyz(71.3844, 82.8408, 41.9291)
Luminance0.8284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF198 #9E98F1
analogous
#F1CB98 #EBF198 #BFF198
triadic
#EBF198 #98EBF1 #F198EB
tetradic
#EBF198 #98F1CB #9E98F1 #F198BF
square
#EBF198 #98F1CB #9E98F1 #F198BF
split-complementary
#EBF198 #98BFF1 #CB98F1
monochromatic
#D6E22C #E1EA62 #EBF198 #F5F8CE #FAFBE4

Accessibility & contrast

On white

1.20
#EBF198 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.57
#EBF198 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF198
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF198#FFFFFF#000000##000000
##EBF1981.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE991
Deuteranopia (green-blind)
#FEEC9C
Tritanopia (blue-blind)
#F6E7DB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ebf198;
/* rgb */ color: rgb(235, 241, 152);
/* oklch */ color: oklch(93.4% 0.112 111.7);
Tailwind
colors: {
  custom: {
    50: '#f2f5b7',
    500: '#ebf198',
    950: '#000000',
  },
}
SCSS
$custom: #ebf198;
$custom-light: #f2f5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf198",
  "rgb": {
    "r": 235,
    "g": 241,
    "b": 152
  },
  "hsl": {
    "h": 64.045,
    "s": 76.068,
    "l": 77.059
  },
  "oklch": {
    "l": 0.93388,
    "c": 0.11161,
    "h": 111.7
  },
  "luminance": 0.8284
}

Semantic roles & 50–950 ramp

primary
#EBF198
secondary
#675FCE
accent
#0DD81B
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBF198

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

Preview Lab → · Contrast checker → · Palette generator →

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