#EBF156#EBF156

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

Color values

HEX#EBF156
RGBrgb(235, 241, 86)
HSLhsl(62, 85%, 64%)
HSVhsv(62, 64%, 95%)
CMYKcmyk(2.5%, 0%, 64.3%, 5.5%)
CIE-LABlab(92.24, -20.69, 71.19)
CIE-LCHlch(92.24, 74.14, 106.20°)
OKLaboklab(92.6% -0.0632 0.1606)
OKLCHoklch(92.6% 0.173 111.5)
XYZxyz(67.3980, 81.2463, 20.9340)
Luminance0.8125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF156 #5C56F1
analogous
#F1AA56 #EBF156 #9DF156
triadic
#EBF156 #56EBF1 #F156EB
tetradic
#EBF156 #56F1AA #5C56F1 #F1569D
square
#EBF156 #56F1AA #5C56F1 #F1569D
split-complementary
#EBF156 #569DF1 #AA56F1
monochromatic
#B6BD10 #E4EC1D #EBF156 #F2F68F #F8FAC7

Accessibility & contrast

On white

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

On black

17.25
#EBF156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF156
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF156#FFFFFF#000000##000000
##EBF1561.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE741
Deuteranopia (green-blind)
#FFEB60
Tritanopia (blue-blind)
#FAE3D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ebf156;
/* rgb */ color: rgb(235, 241, 86);
/* oklch */ color: oklch(92.6% 0.173 111.5);
Tailwind
colors: {
  custom: {
    50: '#f5f58d',
    500: '#ebf156',
    950: '#000000',
  },
}
SCSS
$custom: #ebf156;
$custom-light: #f5f58d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf156",
  "rgb": {
    "r": 235,
    "g": 241,
    "b": 86
  },
  "hsl": {
    "h": 62.323,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.92599,
    "c": 0.17261,
    "h": 111.5
  },
  "luminance": 0.81245
}

Semantic roles & 50–950 ramp

primary
#EBF156
secondary
#3530BB
accent
#04E10D
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EBF156

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

Preview Lab → · Contrast checker → · Palette generator →

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