#EBF478#EBF478

#EBF478 is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.6% C 0.148 H 112.7°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#EBF478
RGBrgb(235, 244, 120)
HSLhsl(64, 85%, 71%)
HSVhsv(64, 51%, 96%)
CMYKcmyk(3.7%, 0%, 50.8%, 4.3%)
CIE-LABlab(93.33, -19.71, 58.01)
CIE-LCHlch(93.33, 61.27, 108.76°)
OKLaboklab(93.57% -0.057 0.1366)
OKLCHoklch(93.57% 0.148 112.7)
XYZxyz(70.0031, 83.7209, 30.2377)
Luminance0.8372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF478 #8178F4
analogous
#F4BF78 #EBF478 #ADF478
triadic
#EBF478 #78EBF4 #F478EB
tetradic
#EBF478 #78F4BF #8178F4 #F478AD
square
#EBF478 #78F4BF #8178F4 #F478AD
split-complementary
#EBF478 #78ADF4 #BF78F4
monochromatic
#D1DF12 #E3EF3F #EBF478 #F3F9B1 #FBFDE3

Accessibility & contrast

On white

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

On black

17.74
#EBF478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF478
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF478#FFFFFF#000000##000000
##EBF4781.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6C
Deuteranopia (green-blind)
#FFED7F
Tritanopia (blue-blind)
#F8E8D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ebf478;
/* rgb */ color: rgb(235, 244, 120);
/* oklch */ color: oklch(93.6% 0.148 112.7);
Tailwind
colors: {
  custom: {
    50: '#f4f7a2',
    500: '#ebf478',
    950: '#000000',
  },
}
SCSS
$custom: #ebf478;
$custom-light: #f4f7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf478",
  "rgb": {
    "r": 235,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 64.355,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93565,
    "c": 0.14801,
    "h": 112.7
  },
  "luminance": 0.8372
}

Semantic roles & 50–950 ramp

primary
#EBF478
secondary
#4C41CF
accent
#04E114
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF478

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

Preview Lab → · Contrast checker → · Palette generator →

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