#EBF158#EBF158

#EBF158 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.6% C 0.171 H 111.5°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#EBF158
RGBrgb(235, 241, 88)
HSLhsl(62, 85%, 65%)
HSVhsv(62, 63%, 95%)
CMYKcmyk(2.5%, 0%, 63.5%, 5.5%)
CIE-LABlab(92.26, -20.57, 70.43)
CIE-LCHlch(92.26, 73.37, 106.28°)
OKLaboklab(92.62% -0.0626 0.1593)
OKLCHoklch(92.62% 0.171 111.5)
XYZxyz(67.4797, 81.2789, 21.3644)
Luminance0.8128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF158 #5E58F1
analogous
#F1AB58 #EBF158 #9FF158
triadic
#EBF158 #58EBF1 #F158EB
tetradic
#EBF158 #58F1AB #5E58F1 #F1589F
square
#EBF158 #58F1AB #5E58F1 #F1589F
split-complementary
#EBF158 #589FF1 #AB58F1
monochromatic
#B8BF10 #E4EC20 #EBF158 #F2F690 #F9FAC9

Accessibility & contrast

On white

1.22
#EBF158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#EBF158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF158
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF158#FFFFFF#000000##000000
##EBF1581.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE744
Deuteranopia (green-blind)
#FFEB62
Tritanopia (blue-blind)
#FAE3D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ebf158;
/* rgb */ color: rgb(235, 241, 88);
/* oklch */ color: oklch(92.6% 0.171 111.5);
Tailwind
colors: {
  custom: {
    50: '#f5f58e',
    500: '#ebf158',
    950: '#000000',
  },
}
SCSS
$custom: #ebf158;
$custom-light: #f5f58e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf158",
  "rgb": {
    "r": 235,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 62.353,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.92615,
    "c": 0.17119,
    "h": 111.5
  },
  "luminance": 0.81277
}

Semantic roles & 50–950 ramp

primary
#EBF158
secondary
#3630BD
accent
#05E10D
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EBF158

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

Preview Lab → · Contrast checker → · Palette generator →

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