#EBF997#EBF997

#EBF997 is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.0% C 0.123 H 115.4°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#EBF997
RGBrgb(235, 249, 151)
HSLhsl(69, 89%, 78%)
HSVhsv(69, 39%, 98%)
CMYKcmyk(5.6%, 0%, 39.4%, 2.4%)
CIE-LABlab(95.01, -19.10, 45.46)
CIE-LCHlch(95.01, 49.31, 112.79°)
OKLaboklab(95.03% -0.0527 0.1108)
OKLCHoklch(95.03% 0.123 115.4)
XYZxyz(73.7230, 87.6487, 42.3063)
Luminance0.8765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF997 #A597F9
analogous
#F9D697 #EBF997 #BAF997
triadic
#EBF997 #97EBF9 #F997EB
tetradic
#EBF997 #97F9D6 #A597F9 #F997BA
square
#EBF997 #97F9D6 #A597F9 #F997BA
split-complementary
#EBF997 #97BAF9 #D697F9
monochromatic
#D5F223 #E0F65D #EBF997 #F6FCD1 #F9FDE2

Accessibility & contrast

On white

1.13
#EBF997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.53
#EBF997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF997
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF997#FFFFFF#000000##000000
##EBF9971.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF08F
Deuteranopia (green-blind)
#FFF29C
Tritanopia (blue-blind)
#F5EFE1
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ebf997;
/* rgb */ color: rgb(235, 249, 151);
/* oklch */ color: oklch(95.0% 0.123 115.4);
Tailwind
colors: {
  custom: {
    50: '#f3fbb7',
    500: '#ebf997',
    950: '#000000',
  },
}
SCSS
$custom: #ebf997;
$custom-light: #f3fbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf997",
  "rgb": {
    "r": 235,
    "g": 249,
    "b": 151
  },
  "hsl": {
    "h": 68.571,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.95031,
    "c": 0.12271,
    "h": 115.4
  },
  "luminance": 0.87648
}

Semantic roles & 50–950 ramp

primary
#EBF997
secondary
#6D5BD9
accent
#00E621
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBF997

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

Preview Lab → · Contrast checker → · Palette generator →

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