#EBF7AB#EBF7AB

#EBF7AB is a very light, moderate yellow. Relative luminance 0.871; OKLCH L 95.0% C 0.098 H 115.6°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#EBF7AB
RGBrgb(235, 247, 171)
HSLhsl(69, 83%, 82%)
HSVhsv(69, 31%, 97%)
CMYKcmyk(4.9%, 0%, 30.8%, 3.1%)
CIE-LABlab(94.79, -15.77, 35.30)
CIE-LCHlch(94.79, 38.66, 114.08°)
OKLaboklab(94.95% -0.0421 0.088)
OKLCHoklch(94.95% 0.098 115.6)
XYZxyz(74.8723, 87.1246, 51.3926)
Luminance0.8712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF7AB #B7ABF7
analogous
#F7DDAB #EBF7AB #C5F7AB
triadic
#EBF7AB #ABEBF7 #F7ABEB
tetradic
#EBF7AB #ABF7DD #B7ABF7 #F7ABC5
square
#EBF7AB #ABF7DD #B7ABF7 #F7ABC5
split-complementary
#EBF7AB #ABC5F7 #DDABF7
monochromatic
#D0EC3B #DEF273 #EBF7AB #F8FCE3 #F8FCE3

Accessibility & contrast

On white

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

On black

18.42
#EBF7AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF7AB
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF7AB#FFFFFF#000000##000000
##EBF7AB1.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEFA6
Deuteranopia (green-blind)
#FFF1AE
Tritanopia (blue-blind)
#F3EFE3
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ebf7ab;
/* rgb */ color: rgb(235, 247, 171);
/* oklch */ color: oklch(95.0% 0.098 115.6);
Tailwind
colors: {
  custom: {
    50: '#f2f9c4',
    500: '#ebf7ab',
    950: '#000000',
  },
}
SCSS
$custom: #ebf7ab;
$custom-light: #f2f9c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf7ab",
  "rgb": {
    "r": 235,
    "g": 247,
    "b": 171
  },
  "hsl": {
    "h": 69.474,
    "s": 82.609,
    "l": 81.961
  },
  "oklch": {
    "l": 0.94952,
    "c": 0.09757,
    "h": 115.6
  },
  "luminance": 0.87124
}

Semantic roles & 50–950 ramp

primary
#EBF7AB
secondary
#7F6ED8
accent
#06DF29
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171713
muted
#858582

Preview Lab

Preview with #EBF7AB

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

Preview Lab → · Contrast checker → · Palette generator →

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