#EBF971#EBF971

#EBF971 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.5% C 0.160 H 114.4°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#EBF971
RGBrgb(235, 249, 113)
HSLhsl(66, 92%, 71%)
HSVhsv(66, 55%, 98%)
CMYKcmyk(5.6%, 0%, 54.6%, 2.4%)
CIE-LABlab(94.57, -22.67, 62.57)
CIE-LCHlch(94.57, 66.55, 109.92°)
OKLaboklab(94.54% -0.0661 0.1457)
OKLCHoklch(94.54% 0.16 114.4)
XYZxyz(71.1187, 86.6069, 28.5899)
Luminance0.8661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF971 #7F71F9
analogous
#F9C371 #EBF971 #A7F971
triadic
#EBF971 #71EBF9 #F971EB
tetradic
#EBF971 #71F9C3 #7F71F9 #F971A7
square
#EBF971 #71F9C3 #7F71F9 #F971A7
split-complementary
#EBF971 #71A7F9 #C371F9
monochromatic
#CFE60A #E3F736 #EBF971 #F3FBAC #FBFEE2

Accessibility & contrast

On white

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

On black

18.32
#EBF971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF971
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF971#FFFFFF#000000##000000
##EBF9711.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE63
Deuteranopia (green-blind)
#FFF179
Tritanopia (blue-blind)
#F8ECDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ebf971;
/* rgb */ color: rgb(235, 249, 113);
/* oklch */ color: oklch(94.5% 0.160 114.4);
Tailwind
colors: {
  custom: {
    50: '#f4fb9e',
    500: '#ebf971',
    950: '#000000',
  },
}
SCSS
$custom: #ebf971;
$custom-light: #f4fb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf971",
  "rgb": {
    "r": 235,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 66.176,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.94535,
    "c": 0.16002,
    "h": 114.4
  },
  "luminance": 0.86606
}

Semantic roles & 50–950 ramp

primary
#EBF971
secondary
#4A3AD4
accent
#00E618
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF971

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

Preview Lab → · Contrast checker → · Palette generator →

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