#EBF781#EBF781

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

Color values

HEX#EBF781
RGBrgb(235, 247, 129)
HSLhsl(66, 88%, 74%)
HSVhsv(66, 48%, 97%)
CMYKcmyk(4.9%, 0%, 47.8%, 3.1%)
CIE-LABlab(94.21, -20.35, 54.93)
CIE-LCHlch(94.21, 58.58, 110.33°)
OKLaboklab(94.3% -0.058 0.1306)
OKLCHoklch(94.3% 0.143 113.9)
XYZxyz(71.4853, 85.7697, 33.5540)
Luminance0.8577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF781 #8D81F7
analogous
#F7C881 #EBF781 #B0F781
triadic
#EBF781 #81EBF7 #F781EB
tetradic
#EBF781 #81F7C8 #8D81F7 #F781B0
square
#EBF781 #81F7C8 #8D81F7 #F781B0
split-complementary
#EBF781 #81B0F7 #C881F7
monochromatic
#D8EE0F #E2F347 #EBF781 #F4FBBB #FAFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBF781#FFFFFF#000000##000000
##EBF7811.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)
#FFED77
Deuteranopia (green-blind)
#FFF087
Tritanopia (blue-blind)
#F7EBDC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ebf781;
/* rgb */ color: rgb(235, 247, 129);
/* oklch */ color: oklch(94.3% 0.143 113.9);
Tailwind
colors: {
  custom: {
    50: '#f3f9a8',
    500: '#ebf781',
    950: '#000000',
  },
}
SCSS
$custom: #ebf781;
$custom-light: #f3f9a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf781",
  "rgb": {
    "r": 235,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 66.102,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94303,
    "c": 0.14292,
    "h": 113.9
  },
  "luminance": 0.85769
}

Semantic roles & 50–950 ramp

primary
#EBF781
secondary
#5749D4
accent
#01E518
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #EBF781

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

Preview Lab → · Contrast checker → · Palette generator →

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