#EBF298#EBF298

#EBF298 is a very light, moderate yellow. Relative luminance 0.834; OKLCH L 93.6% C 0.113 H 112.2°. Best body text is #000000 at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#EBF298
RGBrgb(235, 242, 152)
HSLhsl(65, 78%, 77%)
HSVhsv(65, 37%, 95%)
CMYKcmyk(2.9%, 0%, 37.2%, 5.1%)
CIE-LABlab(93.20, -15.59, 42.66)
CIE-LCHlch(93.20, 45.42, 110.07°)
OKLaboklab(93.59% -0.0426 0.1045)
OKLCHoklch(93.59% 0.113 112.2)
XYZxyz(71.6812, 83.4345, 42.0280)
Luminance0.8343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF298 #9F98F2
analogous
#F2CC98 #EBF298 #BEF298
triadic
#EBF298 #98EBF2 #F298EB
tetradic
#EBF298 #98F2CC #9F98F2 #F298BE
square
#EBF298 #98F2CC #9F98F2 #F298BE
split-complementary
#EBF298 #98BEF2 #CC98F2
monochromatic
#D6E42B #E0EB62 #EBF298 #F6F9CE #FAFCE4

Accessibility & contrast

On white

1.19
#EBF298 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.69
#EBF298 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF298
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF298#FFFFFF#000000##000000
##EBF2981.001.1917.6917.69
#FFFFFF1.191.0021.0021.00
#00000017.6921.001.001.00
##00000017.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA91
Deuteranopia (green-blind)
#FFED9C
Tritanopia (blue-blind)
#F6E8DC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ebf298;
/* rgb */ color: rgb(235, 242, 152);
/* oklch */ color: oklch(93.6% 0.113 112.2);
Tailwind
colors: {
  custom: {
    50: '#f2f6b7',
    500: '#ebf298',
    950: '#000000',
  },
}
SCSS
$custom: #ebf298;
$custom-light: #f2f6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf298",
  "rgb": {
    "r": 235,
    "g": 242,
    "b": 152
  },
  "hsl": {
    "h": 64.667,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.93594,
    "c": 0.11283,
    "h": 112.2
  },
  "luminance": 0.83433
}

Semantic roles & 50–950 ramp

primary
#EBF298
secondary
#675FD0
accent
#0CDA1C
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBF298

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

Preview Lab → · Contrast checker → · Palette generator →

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