#EBE257#EBE257

#EBE257 is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.5% C 0.157 H 105.6°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#EBE257
RGBrgb(235, 226, 87)
HSLhsl(56, 79%, 63%)
HSVhsv(56, 63%, 92%)
CMYKcmyk(0%, 3.8%, 63%, 7.8%)
CIE-LABlab(88.33, -13.32, 66.70)
CIE-LCHlch(88.33, 68.02, 101.29°)
OKLaboklab(89.48% -0.0423 0.1513)
OKLCHoklch(89.48% 0.157 105.6)
XYZxyz(63.1799, 72.7452, 19.7282)
Luminance0.7274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE257 #5760EB
analogous
#EB9857 #EBE257 #AAEB57
triadic
#EBE257 #57EBE2 #E257EB
tetradic
#EBE257 #57EB98 #5760EB #EB57AA
square
#EBE257 #57EB98 #5760EB #EB57AA
split-complementary
#EBE257 #57AAEB #9857EB
monochromatic
#B2A915 #E4D920 #EBE257 #F2EB8E #F8F5C4

Accessibility & contrast

On white

1.35
#EBE257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#EBE257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE257
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE257#FFFFFF#000000##000000
##EBE2571.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA46
Deuteranopia (green-blind)
#F8E05F
Tritanopia (blue-blind)
#FBD4C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ebe257;
/* rgb */ color: rgb(235, 226, 87);
/* oklch */ color: oklch(89.5% 0.157 105.6);
Tailwind
colors: {
  custom: {
    50: '#f5ea8d',
    500: '#ebe257',
    950: '#000000',
  },
}
SCSS
$custom: #ebe257;
$custom-light: #f5ea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe257",
  "rgb": {
    "r": 235,
    "g": 226,
    "b": 87
  },
  "hsl": {
    "h": 56.351,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.89478,
    "c": 0.15709,
    "h": 105.6
  },
  "luminance": 0.72743
}

Semantic roles & 50–950 ramp

primary
#EBE257
secondary
#343BB3
accent
#17DB0A
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #EBE257

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

Preview Lab → · Contrast checker → · Palette generator →

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