#EBF178#EBF178

#EBF178 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 92.9% C 0.145 H 111.4°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#EBF178
RGBrgb(235, 241, 120)
HSLhsl(63, 81%, 71%)
HSVhsv(63, 50%, 95%)
CMYKcmyk(2.5%, 0%, 50.2%, 5.5%)
CIE-LABlab(92.54, -18.26, 57.09)
CIE-LCHlch(92.54, 59.94, 107.73°)
OKLaboklab(92.94% -0.0529 0.1346)
OKLCHoklch(92.94% 0.145 111.4)
XYZxyz(69.1078, 81.9302, 29.9393)
Luminance0.8193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF178 #7E78F1
analogous
#F1BA78 #EBF178 #AEF178
triadic
#EBF178 #78EBF1 #F178EB
tetradic
#EBF178 #78F1BA #7E78F1 #F178AE
square
#EBF178 #78F1BA #7E78F1 #F178AE
split-complementary
#EBF178 #78AEF1 #BA78F1
monochromatic
#CFD816 #E3EB41 #EBF178 #F3F7AF #FBFCE3

Accessibility & contrast

On white

1.21
#EBF178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.39
#EBF178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF178
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF178#FFFFFF#000000##000000
##EBF1781.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86D
Deuteranopia (green-blind)
#FFEB7E
Tritanopia (blue-blind)
#F8E5D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ebf178;
/* rgb */ color: rgb(235, 241, 120);
/* oklch */ color: oklch(92.9% 0.145 111.4);
Tailwind
colors: {
  custom: {
    50: '#f3f5a2',
    500: '#ebf178',
    950: '#000000',
  },
}
SCSS
$custom: #ebf178;
$custom-light: #f3f5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf178",
  "rgb": {
    "r": 235,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 62.975,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92938,
    "c": 0.14461,
    "h": 111.4
  },
  "luminance": 0.81929
}

Semantic roles & 50–950 ramp

primary
#EBF178
secondary
#4942CB
accent
#08DE13
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF178

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

Preview Lab → · Contrast checker → · Palette generator →

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