#EBF797#EBF797

#EBF797 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.6% C 0.120 H 114.5°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#EBF797
RGBrgb(235, 247, 151)
HSLhsl(68, 86%, 78%)
HSVhsv(68, 39%, 97%)
CMYKcmyk(4.9%, 0%, 38.9%, 3.1%)
CIE-LABlab(94.49, -18.14, 44.80)
CIE-LCHlch(94.49, 48.33, 112.04°)
OKLaboklab(94.62% -0.0499 0.1093)
OKLCHoklch(94.62% 0.12 114.5)
XYZxyz(73.1082, 86.4189, 42.1013)
Luminance0.8642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF797 #A397F7
analogous
#F7D397 #EBF797 #BBF797
triadic
#EBF797 #97EBF7 #F797EB
tetradic
#EBF797 #97F7D3 #A397F7 #F797BB
square
#EBF797 #97F7D3 #A397F7 #F797BB
split-complementary
#EBF797 #97BBF7 #D397F7
monochromatic
#D5EE25 #E0F35E #EBF797 #F6FBD0 #FAFDE3

Accessibility & contrast

On white

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

On black

18.28
#EBF797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF797
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF797#FFFFFF#000000##000000
##EBF7971.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE90
Deuteranopia (green-blind)
#FFF09B
Tritanopia (blue-blind)
#F5EDDF
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ebf797;
/* rgb */ color: rgb(235, 247, 151);
/* oklch */ color: oklch(94.6% 0.120 114.5);
Tailwind
colors: {
  custom: {
    50: '#f2f9b7',
    500: '#ebf797',
    950: '#000000',
  },
}
SCSS
$custom: #ebf797;
$custom-light: #f2f9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf797",
  "rgb": {
    "r": 235,
    "g": 247,
    "b": 151
  },
  "hsl": {
    "h": 67.5,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.94615,
    "c": 0.12017,
    "h": 114.5
  },
  "luminance": 0.86418
}

Semantic roles & 50–950 ramp

primary
#EBF797
secondary
#6B5CD6
accent
#03E21F
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBF797

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

Preview Lab → · Contrast checker → · Palette generator →

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