#EBF866#EBF866

#EBF866 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.2% C 0.168 H 113.9°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#EBF866
RGBrgb(235, 248, 102)
HSLhsl(65, 91%, 69%)
HSVhsv(65, 59%, 97%)
CMYKcmyk(5.2%, 0%, 58.9%, 2.7%)
CIE-LABlab(94.21, -23.01, 66.86)
CIE-LCHlch(94.21, 70.71, 108.99°)
OKLaboklab(94.21% -0.0681 0.1537)
OKLCHoklch(94.21% 0.168 113.9)
XYZxyz(70.2282, 85.7575, 25.4211)
Luminance0.8576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF866 #7366F8
analogous
#F8BC66 #EBF866 #A2F866
triadic
#EBF866 #66EBF8 #F866EB
tetradic
#EBF866 #66F8BC #7366F8 #F866A2
square
#EBF866 #66F8BC #7366F8 #F866A2
split-complementary
#EBF866 #66A2F8 #BC66F8
monochromatic
#C7DA0A #E3F52B #EBF866 #F3FBA1 #FAFDDB

Accessibility & contrast

On white

1.16
#EBF866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.15
#EBF866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF866
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF866#FFFFFF#000000##000000
##EBF8661.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED55
Deuteranopia (green-blind)
#FFF06F
Tritanopia (blue-blind)
#F9EBD9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ebf866;
/* rgb */ color: rgb(235, 248, 102);
/* oklch */ color: oklch(94.2% 0.168 113.9);
Tailwind
colors: {
  custom: {
    50: '#f4fa97',
    500: '#ebf866',
    950: '#000000',
  },
}
SCSS
$custom: #ebf866;
$custom-light: #f4fa97;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf866",
  "rgb": {
    "r": 235,
    "g": 248,
    "b": 102
  },
  "hsl": {
    "h": 65.342,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.94213,
    "c": 0.16807,
    "h": 113.9
  },
  "luminance": 0.85756
}

Semantic roles & 50–950 ramp

primary
#EBF866
secondary
#3F31D2
accent
#00E614
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EBF866

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

Preview Lab → · Contrast checker → · Palette generator →

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