#EBF271#EBF271

#EBF271 is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.1% C 0.152 H 111.8°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#EBF271
RGBrgb(235, 242, 113)
HSLhsl(63, 83%, 70%)
HSVhsv(63, 53%, 95%)
CMYKcmyk(2.9%, 0%, 53.3%, 5.1%)
CIE-LABlab(92.73, -19.32, 60.47)
CIE-LCHlch(92.73, 63.48, 107.72°)
OKLaboklab(93.07% -0.0566 0.1412)
OKLCHoklch(93.07% 0.152 111.8)
XYZxyz(68.9952, 82.3601, 27.8821)
Luminance0.8236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF271 #7871F2
analogous
#F2B971 #EBF271 #ABF271
triadic
#EBF271 #71EBF2 #F271EB
tetradic
#EBF271 #71F2B9 #7871F2 #F271AB
square
#EBF271 #71F2B9 #7871F2 #F271AB
split-complementary
#EBF271 #71ABF2 #B971F2
monochromatic
#CBD514 #E3ED39 #EBF271 #F3F7A9 #FBFCE1

Accessibility & contrast

On white

1.20
#EBF271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.47
#EBF271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF271
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF271#FFFFFF#000000##000000
##EBF2711.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#FFEC78
Tritanopia (blue-blind)
#F9E5D5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ebf271;
/* rgb */ color: rgb(235, 242, 113);
/* oklch */ color: oklch(93.1% 0.152 111.8);
Tailwind
colors: {
  custom: {
    50: '#f4f69d',
    500: '#ebf271',
    950: '#000000',
  },
}
SCSS
$custom: #ebf271;
$custom-light: #f4f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf271",
  "rgb": {
    "r": 235,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 63.256,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93066,
    "c": 0.15213,
    "h": 111.8
  },
  "luminance": 0.82359
}

Semantic roles & 50–950 ramp

primary
#EBF271
secondary
#443CCB
accent
#06E012
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF271

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

Preview Lab → · Contrast checker → · Palette generator →

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