#EBF28A#EBF28A

#EBF28A is a very light, vivid yellow. Relative luminance 0.830; OKLCH L 93.4% C 0.128 H 112.0°. Best body text is #000000 at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#EBF28A
RGBrgb(235, 242, 138)
HSLhsl(64, 80%, 75%)
HSVhsv(64, 43%, 95%)
CMYKcmyk(2.9%, 0%, 43%, 5.1%)
CIE-LABlab(93.02, -17.07, 49.23)
CIE-LCHlch(93.02, 52.10, 109.13°)
OKLaboklab(93.38% -0.0479 0.1186)
OKLCHoklch(93.38% 0.128 112)
XYZxyz(70.6015, 83.0026, 36.3417)
Luminance0.8300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF28A #918AF2
analogous
#F2C58A #EBF28A #B7F28A
triadic
#EBF28A #8AEBF2 #F28AEB
tetradic
#EBF28A #8AF2C5 #918AF2 #F28AB7
square
#EBF28A #8AF2C5 #918AF2 #F28AB7
split-complementary
#EBF28A #8AB7F2 #C58AF2
monochromatic
#D8E61C #E2EC53 #EBF28A #F4F8C1 #FAFCE3

Accessibility & contrast

On white

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

On black

17.60
#EBF28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF28A
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF28A#FFFFFF#000000##000000
##EBF28A1.001.1917.6017.60
#FFFFFF1.191.0021.0021.00
#00000017.6021.001.001.00
##00000017.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE982
Deuteranopia (green-blind)
#FFEC8F
Tritanopia (blue-blind)
#F7E7D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ebf28a;
/* rgb */ color: rgb(235, 242, 138);
/* oklch */ color: oklch(93.4% 0.128 112.0);
Tailwind
colors: {
  custom: {
    50: '#f3f6ae',
    500: '#ebf28a',
    950: '#000000',
  },
}
SCSS
$custom: #ebf28a;
$custom-light: #f3f6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf28a",
  "rgb": {
    "r": 235,
    "g": 242,
    "b": 138
  },
  "hsl": {
    "h": 64.038,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.93382,
    "c": 0.1279,
    "h": 112
  },
  "luminance": 0.83001
}

Semantic roles & 50–950 ramp

primary
#EBF28A
secondary
#5A52CE
accent
#09DC17
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #EBF28A

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

Preview Lab → · Contrast checker → · Palette generator →

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