#EBF28B#EBF28B

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

Color values

HEX#EBF28B
RGBrgb(235, 242, 139)
HSLhsl(64, 80%, 75%)
HSVhsv(64, 43%, 95%)
CMYKcmyk(2.9%, 0%, 42.6%, 5.1%)
CIE-LABlab(93.03, -16.97, 48.76)
CIE-LCHlch(93.03, 51.63, 109.19°)
OKLaboklab(93.4% -0.0475 0.1176)
OKLCHoklch(93.4% 0.127 112)
XYZxyz(70.6742, 83.0317, 36.7248)
Luminance0.8303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF28B #928BF2
analogous
#F2C68B #EBF28B #B7F28B
triadic
#EBF28B #8BEBF2 #F28BEB
tetradic
#EBF28B #8BF2C6 #928BF2 #F28BB7
square
#EBF28B #8BF2C6 #928BF2 #F28BB7
split-complementary
#EBF28B #8BB7F2 #C68BF2
monochromatic
#D8E61D #E2EC54 #EBF28B #F4F8C2 #FAFCE3

Accessibility & contrast

On white

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

On black

17.61
#EBF28B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF28B
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF28B#FFFFFF#000000##000000
##EBF28B1.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebf28b;
/* rgb */ color: rgb(235, 242, 139);
/* oklch */ color: oklch(93.4% 0.127 112.0);
Tailwind
colors: {
  custom: {
    50: '#f3f6ae',
    500: '#ebf28b',
    950: '#000000',
  },
}
SCSS
$custom: #ebf28b;
$custom-light: #f3f6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf28b",
  "rgb": {
    "r": 235,
    "g": 242,
    "b": 139
  },
  "hsl": {
    "h": 64.078,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.93397,
    "c": 0.12686,
    "h": 112
  },
  "luminance": 0.83031
}

Semantic roles & 50–950 ramp

primary
#EBF28B
secondary
#5B53CE
accent
#09DC18
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #EBF28B

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

Preview Lab → · Contrast checker → · Palette generator →

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