#EBF398#EBF398

#EBF398 is a very light, moderate yellow. Relative luminance 0.840; OKLCH L 93.8% C 0.114 H 112.7°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#EBF398
RGBrgb(235, 243, 152)
HSLhsl(65, 79%, 77%)
HSVhsv(65, 37%, 95%)
CMYKcmyk(3.3%, 0%, 37.4%, 4.7%)
CIE-LABlab(93.46, -16.08, 43.00)
CIE-LCHlch(93.46, 45.90, 110.50°)
OKLaboklab(93.8% -0.044 0.1052)
OKLCHoklch(93.8% 0.114 112.7)
XYZxyz(71.9796, 84.0313, 42.1275)
Luminance0.8403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF398 #A098F3
analogous
#F3CE98 #EBF398 #BDF398
triadic
#EBF398 #98EBF3 #F398EB
tetradic
#EBF398 #98F3CE #A098F3 #F398BD
square
#EBF398 #98F3CE #A098F3 #F398BD
split-complementary
#EBF398 #98BDF3 #CE98F3
monochromatic
#D6E62A #E0ED61 #EBF398 #F6F9CF #FAFCE4

Accessibility & contrast

On white

1.18
#EBF398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.81
#EBF398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF398
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF398#FFFFFF#000000##000000
##EBF3981.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB91
Deuteranopia (green-blind)
#FFED9C
Tritanopia (blue-blind)
#F6E9DC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ebf398;
/* rgb */ color: rgb(235, 243, 152);
/* oklch */ color: oklch(93.8% 0.114 112.7);
Tailwind
colors: {
  custom: {
    50: '#f2f7b7',
    500: '#ebf398',
    950: '#000000',
  },
}
SCSS
$custom: #ebf398;
$custom-light: #f2f7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf398",
  "rgb": {
    "r": 235,
    "g": 243,
    "b": 152
  },
  "hsl": {
    "h": 65.275,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.93801,
    "c": 0.11407,
    "h": 112.7
  },
  "luminance": 0.8403
}

Semantic roles & 50–950 ramp

primary
#EBF398
secondary
#685ED1
accent
#0ADB1C
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBF398

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

Preview Lab → · Contrast checker → · Palette generator →

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