#EBF171#EBF171

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

Color values

HEX#EBF171
RGBrgb(235, 241, 113)
HSLhsl(63, 82%, 69%)
HSVhsv(63, 53%, 95%)
CMYKcmyk(2.5%, 0%, 53.1%, 5.5%)
CIE-LABlab(92.47, -18.83, 60.17)
CIE-LCHlch(92.47, 63.04, 107.38°)
OKLaboklab(92.86% -0.0552 0.1406)
OKLCHoklch(92.86% 0.151 111.4)
XYZxyz(68.6984, 81.7665, 27.7832)
Luminance0.8176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF171 #7771F1
analogous
#F1B771 #EBF171 #ABF171
triadic
#EBF171 #71EBF1 #F171EB
tetradic
#EBF171 #71F1B7 #7771F1 #F171AB
square
#EBF171 #71F1B7 #7771F1 #F171AB
split-complementary
#EBF171 #71ABF1 #B771F1
monochromatic
#CAD315 #E3EC39 #EBF171 #F3F6A9 #FBFCE0

Accessibility & contrast

On white

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

On black

17.35
#EBF171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF171
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF171#FFFFFF#000000##000000
##EBF1711.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#FFEB78
Tritanopia (blue-blind)
#F9E4D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ebf171;
/* rgb */ color: rgb(235, 241, 113);
/* oklch */ color: oklch(92.9% 0.151 111.4);
Tailwind
colors: {
  custom: {
    50: '#f4f59d',
    500: '#ebf171',
    950: '#000000',
  },
}
SCSS
$custom: #ebf171;
$custom-light: #f4f59d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf171",
  "rgb": {
    "r": 235,
    "g": 241,
    "b": 113
  },
  "hsl": {
    "h": 62.813,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.92857,
    "c": 0.15102,
    "h": 111.4
  },
  "luminance": 0.81765
}

Semantic roles & 50–950 ramp

primary
#EBF171
secondary
#433CCA
accent
#07DE11
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF171

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

Preview Lab → · Contrast checker → · Palette generator →

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