#EBF257#EBF257

#EBF257 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 92.8% C 0.173 H 111.8°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#EBF257
RGBrgb(235, 242, 87)
HSLhsl(63, 86%, 65%)
HSVhsv(63, 64%, 95%)
CMYKcmyk(2.9%, 0%, 64%, 5.1%)
CIE-LABlab(92.51, -21.11, 71.08)
CIE-LCHlch(92.51, 74.15, 106.54°)
OKLaboklab(92.82% -0.0643 0.1606)
OKLCHoklch(92.82% 0.173 111.8)
XYZxyz(67.7353, 81.8561, 21.2466)
Luminance0.8185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF257 #5E57F2
analogous
#F2AC57 #EBF257 #9DF257
triadic
#EBF257 #57EBF2 #F257EB
tetradic
#EBF257 #57F2AC #5E57F2 #F2579D
square
#EBF257 #57F2AC #5E57F2 #F2579D
split-complementary
#EBF257 #579DF2 #AC57F2
monochromatic
#B8C00F #E4EE1E #EBF257 #F2F690 #F9FBC9

Accessibility & contrast

On white

1.21
#EBF257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.37
#EBF257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF257
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF257#FFFFFF#000000##000000
##EBF2571.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE742
Deuteranopia (green-blind)
#FFEB61
Tritanopia (blue-blind)
#FAE4D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ebf257;
/* rgb */ color: rgb(235, 242, 87);
/* oklch */ color: oklch(92.8% 0.173 111.8);
Tailwind
colors: {
  custom: {
    50: '#f5f68e',
    500: '#ebf257',
    950: '#000000',
  },
}
SCSS
$custom: #ebf257;
$custom-light: #f5f68e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf257",
  "rgb": {
    "r": 235,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 62.71,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.92817,
    "c": 0.17294,
    "h": 111.8
  },
  "luminance": 0.81855
}

Semantic roles & 50–950 ramp

primary
#EBF257
secondary
#3630BE
accent
#03E20D
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EBF257

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

Preview Lab → · Contrast checker → · Palette generator →

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