#EBF371#EBF371

#EBF371 is a very light, vivid yellow. Relative luminance 0.830; OKLCH L 93.3% C 0.153 H 112.2°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#EBF371
RGBrgb(235, 243, 113)
HSLhsl(64, 84%, 70%)
HSVhsv(64, 53%, 95%)
CMYKcmyk(3.3%, 0%, 53.5%, 4.7%)
CIE-LABlab(93.00, -19.80, 60.77)
CIE-LCHlch(93.00, 63.91, 108.05°)
OKLaboklab(93.28% -0.0579 0.1419)
OKLCHoklch(93.28% 0.153 112.2)
XYZxyz(69.2937, 82.9570, 27.9816)
Luminance0.8296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF371 #7971F3
analogous
#F3BA71 #EBF371 #AAF371
triadic
#EBF371 #71EBF3 #F371EB
tetradic
#EBF371 #71F3BA #7971F3 #F371AA
square
#EBF371 #71F3BA #7971F3 #F371AA
split-complementary
#EBF371 #71AAF3 #BA71F3
monochromatic
#CBD712 #E3EE39 #EBF371 #F3F8A9 #FBFDE2

Accessibility & contrast

On white

1.19
#EBF371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.59
#EBF371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF371
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF371#FFFFFF#000000##000000
##EBF3711.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FFED78
Tritanopia (blue-blind)
#F9E6D6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ebf371;
/* rgb */ color: rgb(235, 243, 113);
/* oklch */ color: oklch(93.3% 0.153 112.2);
Tailwind
colors: {
  custom: {
    50: '#f4f69d',
    500: '#ebf371',
    950: '#000000',
  },
}
SCSS
$custom: #ebf371;
$custom-light: #f4f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf371",
  "rgb": {
    "r": 235,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 63.692,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.93275,
    "c": 0.15325,
    "h": 112.2
  },
  "luminance": 0.82956
}

Semantic roles & 50–950 ramp

primary
#EBF371
secondary
#443BCD
accent
#05E112
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF371

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

Preview Lab → · Contrast checker → · Palette generator →

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