#EBE457#EBE457

#EBE457 is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 89.9% C 0.159 H 106.5°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#EBE457
RGBrgb(235, 228, 87)
HSLhsl(57, 79%, 63%)
HSVhsv(57, 63%, 92%)
CMYKcmyk(0%, 3%, 63%, 7.8%)
CIE-LABlab(88.85, -14.30, 67.25)
CIE-LCHlch(88.85, 68.75, 102.01°)
OKLaboklab(89.89% -0.0451 0.1525)
OKLCHoklch(89.89% 0.159 106.5)
XYZxyz(63.7269, 73.8392, 19.9105)
Luminance0.7384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE457 #575EEB
analogous
#EB9A57 #EBE457 #A8EB57
triadic
#EBE457 #57EBE4 #E457EB
tetradic
#EBE457 #57EB9A #575EEB #EB57A8
square
#EBE457 #57EB9A #575EEB #EB57A8
split-complementary
#EBE457 #57A8EB #9A57EB
monochromatic
#B2AB15 #E4DB20 #EBE457 #F2ED8E #F8F6C4

Accessibility & contrast

On white

1.33
#EBE457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.77
#EBE457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE457
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE457#FFFFFF#000000##000000
##EBE4571.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC45
Deuteranopia (green-blind)
#F9E260
Tritanopia (blue-blind)
#FBD6C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ebe457;
/* rgb */ color: rgb(235, 228, 87);
/* oklch */ color: oklch(89.9% 0.159 106.5);
Tailwind
colors: {
  custom: {
    50: '#f5ec8d',
    500: '#ebe457',
    950: '#000000',
  },
}
SCSS
$custom: #ebe457;
$custom-light: #f5ec8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe457",
  "rgb": {
    "r": 235,
    "g": 228,
    "b": 87
  },
  "hsl": {
    "h": 57.162,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.89892,
    "c": 0.15899,
    "h": 106.5
  },
  "luminance": 0.73837
}

Semantic roles & 50–950 ramp

primary
#EBE457
secondary
#343AB3
accent
#14DB0A
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #EBE457

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

Preview Lab → · Contrast checker → · Palette generator →

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