#EBF795#EBF795

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

Color values

HEX#EBF795
RGBrgb(235, 247, 149)
HSLhsl(67, 86%, 78%)
HSVhsv(67, 40%, 97%)
CMYKcmyk(4.9%, 0%, 39.7%, 3.1%)
CIE-LABlab(94.46, -18.35, 45.73)
CIE-LCHlch(94.46, 49.28, 111.87°)
OKLaboklab(94.58% -0.0507 0.1114)
OKLCHoklch(94.58% 0.122 114.5)
XYZxyz(72.9471, 86.3545, 41.2532)
Luminance0.8635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF795 #A195F7
analogous
#F7D295 #EBF795 #BAF795
triadic
#EBF795 #95EBF7 #F795EB
tetradic
#EBF795 #95F7D2 #A195F7 #F795BA
square
#EBF795 #95F7D2 #A195F7 #F795BA
split-complementary
#EBF795 #95BAF7 #D295F7
monochromatic
#D6EE23 #E0F35C #EBF795 #F6FBCE #FAFDE3

Accessibility & contrast

On white

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

On black

18.27
#EBF795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF795
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF795#FFFFFF#000000##000000
##EBF7951.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8D
Deuteranopia (green-blind)
#FFF09A
Tritanopia (blue-blind)
#F6EDDF
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ebf795;
/* rgb */ color: rgb(235, 247, 149);
/* oklch */ color: oklch(94.6% 0.122 114.5);
Tailwind
colors: {
  custom: {
    50: '#f3f9b5',
    500: '#ebf795',
    950: '#000000',
  },
}
SCSS
$custom: #ebf795;
$custom-light: #f3f9b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf795",
  "rgb": {
    "r": 235,
    "g": 247,
    "b": 149
  },
  "hsl": {
    "h": 67.347,
    "s": 85.965,
    "l": 77.647
  },
  "oklch": {
    "l": 0.94584,
    "c": 0.12234,
    "h": 114.5
  },
  "luminance": 0.86354
}

Semantic roles & 50–950 ramp

primary
#EBF795
secondary
#695AD6
accent
#03E21E
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EBF795

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

Preview Lab → · Contrast checker → · Palette generator →

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