#EBF97B#EBF97B

#EBF97B is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.6% C 0.151 H 114.6°. Best body text is #000000 at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#EBF97B
RGBrgb(235, 249, 123)
HSLhsl(67, 91%, 73%)
HSVhsv(67, 51%, 98%)
CMYKcmyk(5.6%, 0%, 50.6%, 2.4%)
CIE-LABlab(94.67, -21.85, 58.23)
CIE-LCHlch(94.67, 62.20, 110.57°)
OKLaboklab(94.65% -0.0628 0.1373)
OKLCHoklch(94.65% 0.151 114.6)
XYZxyz(71.7130, 86.8446, 31.7199)
Luminance0.8684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF97B #897BF9
analogous
#F9C87B #EBF97B #ACF97B
triadic
#EBF97B #7BEBF9 #F97BEB
tetradic
#EBF97B #7BF9C8 #897BF9 #F97BAC
square
#EBF97B #7BF9C8 #897BF9 #F97BAC
split-complementary
#EBF97B #7BACF9 #C87BF9
monochromatic
#D5EF0B #E2F640 #EBF97B #F4FCB6 #FBFEE2

Accessibility & contrast

On white

1.14
#EBF97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.37
#EBF97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF97B
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF97B#FFFFFF#000000##000000
##EBF97B1.001.1418.3718.37
#FFFFFF1.141.0021.0021.00
#00000018.3721.001.001.00
##00000018.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6F
Deuteranopia (green-blind)
#FFF182
Tritanopia (blue-blind)
#F8EDDC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ebf97b;
/* rgb */ color: rgb(235, 249, 123);
/* oklch */ color: oklch(94.6% 0.151 114.6);
Tailwind
colors: {
  custom: {
    50: '#f3fba4',
    500: '#ebf97b',
    950: '#000000',
  },
}
SCSS
$custom: #ebf97b;
$custom-light: #f3fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf97b",
  "rgb": {
    "r": 235,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 66.667,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94648,
    "c": 0.151,
    "h": 114.6
  },
  "luminance": 0.86844
}

Semantic roles & 50–950 ramp

primary
#EBF97B
secondary
#5343D6
accent
#00E61A
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF97B

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

Preview Lab → · Contrast checker → · Palette generator →

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