#EBF873#EBF873

#EBF873 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.3% C 0.157 H 114.1°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#EBF873
RGBrgb(235, 248, 115)
HSLhsl(66, 90%, 71%)
HSVhsv(66, 54%, 97%)
CMYKcmyk(5.2%, 0%, 53.6%, 2.7%)
CIE-LABlab(94.33, -22.04, 61.41)
CIE-LCHlch(94.33, 65.25, 109.74°)
OKLaboklab(94.35% -0.0641 0.1435)
OKLCHoklch(94.35% 0.157 114.1)
XYZxyz(70.9242, 86.0359, 29.0867)
Luminance0.8603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF873 #8073F8
analogous
#F8C273 #EBF873 #A8F873
triadic
#EBF873 #73EBF8 #F873EB
tetradic
#EBF873 #73F8C2 #8073F8 #F873A8
square
#EBF873 #73F8C2 #8073F8 #F873A8
split-complementary
#EBF873 #73A8F8 #C273F8
monochromatic
#D0E50B #E3F539 #EBF873 #F3FBAD #FBFEE2

Accessibility & contrast

On white

1.15
#EBF873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.21
#EBF873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF873
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF873#FFFFFF#000000##000000
##EBF8731.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED66
Deuteranopia (green-blind)
#FFF07B
Tritanopia (blue-blind)
#F8EBDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ebf873;
/* rgb */ color: rgb(235, 248, 115);
/* oklch */ color: oklch(94.3% 0.157 114.1);
Tailwind
colors: {
  custom: {
    50: '#f4fa9f',
    500: '#ebf873',
    950: '#000000',
  },
}
SCSS
$custom: #ebf873;
$custom-light: #f4fa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf873",
  "rgb": {
    "r": 235,
    "g": 248,
    "b": 115
  },
  "hsl": {
    "h": 65.865,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94346,
    "c": 0.15713,
    "h": 114.1
  },
  "luminance": 0.86035
}

Semantic roles & 50–950 ramp

primary
#EBF873
secondary
#4B3CD3
accent
#00E616
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF873

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

Preview Lab → · Contrast checker → · Palette generator →

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