#EBF870#EBF870

#EBF870 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.3% C 0.160 H 114.0°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#EBF870
RGBrgb(235, 248, 112)
HSLhsl(66, 91%, 71%)
HSVhsv(66, 55%, 97%)
CMYKcmyk(5.2%, 0%, 54.8%, 2.7%)
CIE-LABlab(94.30, -22.28, 62.70)
CIE-LCHlch(94.30, 66.54, 109.56°)
OKLaboklab(94.31% -0.065 0.1459)
OKLCHoklch(94.31% 0.16 114)
XYZxyz(70.7544, 85.9680, 28.1923)
Luminance0.8597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF870 #7D70F8
analogous
#F8C170 #EBF870 #A7F870
triadic
#EBF870 #70EBF8 #F870EB
tetradic
#EBF870 #70F8C1 #7D70F8 #F870A7
square
#EBF870 #70F8C1 #7D70F8 #F870A7
split-complementary
#EBF870 #70A7F8 #C170F8
monochromatic
#CEE30B #E3F536 #EBF870 #F3FBAA #FBFEE2

Accessibility & contrast

On white

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

On black

18.19
#EBF870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF870
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF870#FFFFFF#000000##000000
##EBF8701.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED62
Deuteranopia (green-blind)
#FFF078
Tritanopia (blue-blind)
#F8EBDA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ebf870;
/* rgb */ color: rgb(235, 248, 112);
/* oklch */ color: oklch(94.3% 0.160 114.0);
Tailwind
colors: {
  custom: {
    50: '#f4fa9d',
    500: '#ebf870',
    950: '#000000',
  },
}
SCSS
$custom: #ebf870;
$custom-light: #f4fa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf870",
  "rgb": {
    "r": 235,
    "g": 248,
    "b": 112
  },
  "hsl": {
    "h": 65.735,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94314,
    "c": 0.15975,
    "h": 114
  },
  "luminance": 0.85967
}

Semantic roles & 50–950 ramp

primary
#EBF870
secondary
#4839D3
accent
#00E616
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EBF870

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

Preview Lab → · Contrast checker → · Palette generator →

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