#EBF87A#EBF87A

#EBF87A is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.4% C 0.151 H 114.2°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#EBF87A
RGBrgb(235, 248, 122)
HSLhsl(66, 90%, 73%)
HSVhsv(66, 51%, 97%)
CMYKcmyk(5.2%, 0%, 50.8%, 2.7%)
CIE-LABlab(94.40, -21.46, 58.36)
CIE-LCHlch(94.40, 62.18, 110.19°)
OKLaboklab(94.43% -0.0618 0.1375)
OKLCHoklch(94.43% 0.151 114.2)
XYZxyz(71.3424, 86.2032, 31.2892)
Luminance0.8620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF87A #877AF8
analogous
#F8C67A #EBF87A #ACF87A
triadic
#EBF87A #7AEBF8 #F87AEB
tetradic
#EBF87A #7AF8C6 #877AF8 #F87AAC
square
#EBF87A #7AF8C6 #877AF8 #F87AAC
split-complementary
#EBF87A #7AACF8 #C67AF8
monochromatic
#D4EB0C #E2F540 #EBF87A #F4FBB4 #FBFDE2

Accessibility & contrast

On white

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

On black

18.24
#EBF87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF87A
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF87A#FFFFFF#000000##000000
##EBF87A1.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6E
Deuteranopia (green-blind)
#FFF081
Tritanopia (blue-blind)
#F8ECDC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ebf87a;
/* rgb */ color: rgb(235, 248, 122);
/* oklch */ color: oklch(94.4% 0.151 114.2);
Tailwind
colors: {
  custom: {
    50: '#f3faa3',
    500: '#ebf87a',
    950: '#000000',
  },
}
SCSS
$custom: #ebf87a;
$custom-light: #f3faa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf87a",
  "rgb": {
    "r": 235,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 66.19,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94427,
    "c": 0.15076,
    "h": 114.2
  },
  "luminance": 0.86202
}

Semantic roles & 50–950 ramp

primary
#EBF87A
secondary
#5142D4
accent
#00E618
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF87A

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

Preview Lab → · Contrast checker → · Palette generator →

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