#EBF862#EBF862

#EBF862 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.2% C 0.171 H 113.9°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#EBF862
RGBrgb(235, 248, 98)
HSLhsl(65, 91%, 68%)
HSVhsv(65, 60%, 97%)
CMYKcmyk(5.2%, 0%, 60.5%, 2.7%)
CIE-LABlab(94.18, -23.29, 68.47)
CIE-LCHlch(94.18, 72.33, 108.78°)
OKLaboklab(94.18% -0.0693 0.1566)
OKLCHoklch(94.18% 0.171 113.9)
XYZxyz(70.0346, 85.6801, 24.4015)
Luminance0.8568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF862 #6F62F8
analogous
#F8BA62 #EBF862 #A0F862
triadic
#EBF862 #62EBF8 #F862EB
tetradic
#EBF862 #62F8BA #6F62F8 #F862A0
square
#EBF862 #62F8BA #6F62F8 #F862A0
split-complementary
#EBF862 #62A0F8 #BA62F8
monochromatic
#C4D60A #E4F527 #EBF862 #F2FB9D #FAFDD7

Accessibility & contrast

On white

1.16
#EBF862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.14
#EBF862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF862
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF862#FFFFFF#000000##000000
##EBF8621.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED50
Deuteranopia (green-blind)
#FFF06C
Tritanopia (blue-blind)
#F9EAD8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ebf862;
/* rgb */ color: rgb(235, 248, 98);
/* oklch */ color: oklch(94.2% 0.171 113.9);
Tailwind
colors: {
  custom: {
    50: '#f4fa95',
    500: '#ebf862',
    950: '#000000',
  },
}
SCSS
$custom: #ebf862;
$custom-light: #f4fa95;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf862",
  "rgb": {
    "r": 235,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 65.2,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.94175,
    "c": 0.1712,
    "h": 113.9
  },
  "luminance": 0.85679
}

Semantic roles & 50–950 ramp

primary
#EBF862
secondary
#3C2ED0
accent
#00E614
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EBF862

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

Preview Lab → · Contrast checker → · Palette generator →

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