#EBF799#EBF799

#EBF799 is a very light, moderate yellow. Relative luminance 0.865; OKLCH L 94.6% C 0.118 H 114.6°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#EBF799
RGBrgb(235, 247, 153)
HSLhsl(68, 85%, 78%)
HSVhsv(68, 38%, 97%)
CMYKcmyk(4.9%, 0%, 38.1%, 3.1%)
CIE-LABlab(94.52, -17.91, 43.86)
CIE-LCHlch(94.52, 47.37, 112.22°)
OKLaboklab(94.65% -0.0492 0.1073)
OKLCHoklch(94.65% 0.118 114.6)
XYZxyz(73.2720, 86.4844, 42.9640)
Luminance0.8648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF799 #A599F7
analogous
#F7D499 #EBF799 #BCF799
triadic
#EBF799 #99EBF7 #F799EB
tetradic
#EBF799 #99F7D4 #A599F7 #F799BC
square
#EBF799 #99F7D4 #A599F7 #F799BC
split-complementary
#EBF799 #99BCF7 #D499F7
monochromatic
#D5EE27 #E0F360 #EBF799 #F6FBD2 #F9FDE3

Accessibility & contrast

On white

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

On black

18.30
#EBF799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF799
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF799#FFFFFF#000000##000000
##EBF7991.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE92
Deuteranopia (green-blind)
#FFF09D
Tritanopia (blue-blind)
#F5EDE0
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ebf799;
/* rgb */ color: rgb(235, 247, 153);
/* oklch */ color: oklch(94.6% 0.118 114.6);
Tailwind
colors: {
  custom: {
    50: '#f2f9b8',
    500: '#ebf799',
    950: '#000000',
  },
}
SCSS
$custom: #ebf799;
$custom-light: #f2f9b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf799",
  "rgb": {
    "r": 235,
    "g": 247,
    "b": 153
  },
  "hsl": {
    "h": 67.66,
    "s": 85.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.94646,
    "c": 0.11798,
    "h": 114.6
  },
  "luminance": 0.86484
}

Semantic roles & 50–950 ramp

primary
#EBF799
secondary
#6D5ED6
accent
#04E220
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBF799

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

Preview Lab → · Contrast checker → · Palette generator →

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