#EBEB57#EBEB57

#EBEB57 is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.3% C 0.166 H 109.3°. Best body text is #000000 at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#EBEB57
RGBrgb(235, 235, 87)
HSLhsl(60, 79%, 63%)
HSVhsv(60, 63%, 92%)
CMYKcmyk(0%, 0%, 63%, 7.8%)
CIE-LABlab(90.67, -17.73, 69.17)
CIE-LCHlch(90.67, 71.41, 104.38°)
OKLaboklab(91.35% -0.0547 0.1565)
OKLCHoklch(91.35% 0.166 109.3)
XYZxyz(65.6917, 77.7688, 20.5654)
Luminance0.7777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEB57 #5757EB
analogous
#EBA157 #EBEB57 #A1EB57
triadic
#EBEB57 #57EBEB #EB57EB
tetradic
#EBEB57 #57EBA1 #5757EB #EB57A1
square
#EBEB57 #57EBA1 #5757EB #EB57A1
split-complementary
#EBEB57 #57A1EB #A157EB
monochromatic
#B2B215 #E4E420 #EBEB57 #F2F28E #F8F8C4

Accessibility & contrast

On white

1.27
#EBEB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.55
#EBEB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEB57
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEB57#FFFFFF#000000##000000
##EBEB571.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE244
Deuteranopia (green-blind)
#FFE760
Tritanopia (blue-blind)
#FBDDCD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ebeb57;
/* rgb */ color: rgb(235, 235, 87);
/* oklch */ color: oklch(91.3% 0.166 109.3);
Tailwind
colors: {
  custom: {
    50: '#f5f18d',
    500: '#ebeb57',
    950: '#000000',
  },
}
SCSS
$custom: #ebeb57;
$custom-light: #f5f18d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebeb57",
  "rgb": {
    "r": 235,
    "g": 235,
    "b": 87
  },
  "hsl": {
    "h": 60,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.9135,
    "c": 0.16582,
    "h": 109.3
  },
  "luminance": 0.77767
}

Semantic roles & 50–950 ramp

primary
#EBEB57
secondary
#3434B3
accent
#0ADB0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #EBEB57

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

Preview Lab → · Contrast checker → · Palette generator →

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