#EBF8A2#EBF8A2

#EBF8A2 is a very light, moderate yellow. Relative luminance 0.874; OKLCH L 95.0% C 0.109 H 115.5°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#EBF8A2
RGBrgb(235, 248, 162)
HSLhsl(69, 86%, 80%)
HSVhsv(69, 35%, 97%)
CMYKcmyk(5.2%, 0%, 34.7%, 2.7%)
CIE-LABlab(94.91, -17.36, 39.94)
CIE-LCHlch(94.91, 43.55, 113.50°)
OKLaboklab(95% -0.0471 0.0986)
OKLCHoklch(95% 0.109 115.5)
XYZxyz(74.3501, 87.4063, 47.1297)
Luminance0.8741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF8A2 #AFA2F8
analogous
#F8DAA2 #EBF8A2 #C0F8A2
triadic
#EBF8A2 #A2EBF8 #F8A2EB
tetradic
#EBF8A2 #A2F8DA #AFA2F8 #F8A2C0
square
#EBF8A2 #A2F8DA #AFA2F8 #F8A2C0
split-complementary
#EBF8A2 #A2C0F8 #DAA2F8
monochromatic
#D3EF30 #DFF469 #EBF8A2 #F7FCDB #F9FDE3

Accessibility & contrast

On white

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

On black

18.48
#EBF8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF8A2
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF8A2#FFFFFF#000000##000000
##EBF8A21.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF09C
Deuteranopia (green-blind)
#FFF1A6
Tritanopia (blue-blind)
#F4EFE2
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ebf8a2;
/* rgb */ color: rgb(235, 248, 162);
/* oklch */ color: oklch(95.0% 0.109 115.5);
Tailwind
colors: {
  custom: {
    50: '#f2fabe',
    500: '#ebf8a2',
    950: '#000000',
  },
}
SCSS
$custom: #ebf8a2;
$custom-light: #f2fabe;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf8a2",
  "rgb": {
    "r": 235,
    "g": 248,
    "b": 162
  },
  "hsl": {
    "h": 69.07,
    "s": 86,
    "l": 80.392
  },
  "oklch": {
    "l": 0.95001,
    "c": 0.10924,
    "h": 115.5
  },
  "luminance": 0.87406
}

Semantic roles & 50–950 ramp

primary
#EBF8A2
secondary
#7765D9
accent
#03E325
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171712
muted
#858582

Preview Lab

Preview with #EBF8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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