#EBF871#EBF871

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

Color values

HEX#EBF871
RGBrgb(235, 248, 113)
HSLhsl(66, 91%, 71%)
HSVhsv(66, 54%, 97%)
CMYKcmyk(5.2%, 0%, 54.4%, 2.7%)
CIE-LABlab(94.31, -22.20, 62.27)
CIE-LCHlch(94.31, 66.11, 109.62°)
OKLaboklab(94.32% -0.0647 0.1451)
OKLCHoklch(94.32% 0.159 114)
XYZxyz(70.8104, 85.9904, 28.4872)
Luminance0.8599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF871 #7E71F8
analogous
#F8C171 #EBF871 #A7F871
triadic
#EBF871 #71EBF8 #F871EB
tetradic
#EBF871 #71F8C1 #7E71F8 #F871A7
square
#EBF871 #71F8C1 #7E71F8 #F871A7
split-complementary
#EBF871 #71A7F8 #C171F8
monochromatic
#CFE30B #E3F537 #EBF871 #F3FBAB #FBFEE2

Accessibility & contrast

On white

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

On black

18.20
#EBF871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF871
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF871#FFFFFF#000000##000000
##EBF8711.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED63
Deuteranopia (green-blind)
#FFF079
Tritanopia (blue-blind)
#F8EBDA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ebf871;
/* rgb */ color: rgb(235, 248, 113);
/* oklch */ color: oklch(94.3% 0.159 114.0);
Tailwind
colors: {
  custom: {
    50: '#f4fa9e',
    500: '#ebf871',
    950: '#000000',
  },
}
SCSS
$custom: #ebf871;
$custom-light: #f4fa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf871",
  "rgb": {
    "r": 235,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 65.778,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94324,
    "c": 0.15888,
    "h": 114
  },
  "luminance": 0.85989
}

Semantic roles & 50–950 ramp

primary
#EBF871
secondary
#493AD3
accent
#00E616
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF871

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

Preview Lab → · Contrast checker → · Palette generator →

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