#EBF877#EBF877

#EBF877 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.4% C 0.154 H 114.1°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#EBF877
RGBrgb(235, 248, 119)
HSLhsl(66, 90%, 72%)
HSVhsv(66, 52%, 97%)
CMYKcmyk(5.2%, 0%, 52%, 2.7%)
CIE-LABlab(94.37, -21.71, 59.68)
CIE-LCHlch(94.37, 63.51, 109.99°)
OKLaboklab(94.39% -0.0628 0.1401)
OKLCHoklch(94.39% 0.154 114.1)
XYZxyz(71.1594, 86.1300, 30.3253)
Luminance0.8613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF877 #8477F8
analogous
#F8C577 #EBF877 #AAF877
triadic
#EBF877 #77EBF8 #F877EB
tetradic
#EBF877 #77F8C5 #8477F8 #F877AA
square
#EBF877 #77F8C5 #8477F8 #F877AA
split-complementary
#EBF877 #77AAF8 #C577F8
monochromatic
#D2E90C #E2F53D #EBF877 #F4FBB1 #FBFEE2

Accessibility & contrast

On white

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

On black

18.23
#EBF877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF877
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF877#FFFFFF#000000##000000
##EBF8771.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebf877;
/* rgb */ color: rgb(235, 248, 119);
/* oklch */ color: oklch(94.4% 0.154 114.1);
Tailwind
colors: {
  custom: {
    50: '#f4faa2',
    500: '#ebf877',
    950: '#000000',
  },
}
SCSS
$custom: #ebf877;
$custom-light: #f4faa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf877",
  "rgb": {
    "r": 235,
    "g": 248,
    "b": 119
  },
  "hsl": {
    "h": 66.047,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94391,
    "c": 0.15353,
    "h": 114.1
  },
  "luminance": 0.86129
}

Semantic roles & 50–950 ramp

primary
#EBF877
secondary
#4E3FD4
accent
#00E617
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF877

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

Preview Lab → · Contrast checker → · Palette generator →

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